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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to