[R] [Help]:How to use "loop" to achieve this aim?
karena
dr.jzhou at gmail.com
Fri Oct 1 10:01:34 CEST 2010
try:ch
----------------------
for(i in 1:22) {
chrn <- paste("chr",i,sep="")
chrn=MEDIPS.readAlignedSeqences(BSgenome="hg19", file="chrn",numrows= )
chrn=MEDIPS.genomeVector(data=chrn, bin_size=50,extend=250)
...
...
write.table(frameschrn.frame500.step250, file="frames.chrn.meth.txt",
sep="\T", quote=F, col.names=T, row.names=F)
}
--
View this message in context: http://r.789695.n4.nabble.com/Help-How-to-use-loop-to-achieve-this-aim-tp2819894p2861236.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list