Displaying 1 result from an estimated 1 matches for "databel2text".
2011 Dec 21
1
Looping over files
...10.dose.fvd"
"chr17.chunk10.dose.fvi"
"chr17.chunk10.prob.fvd"
"chr17.chunk10.prob.fvi"
And I am using the *.dose files to convert the data into a text file.
For a singlefile, the following works:
chr17chunk1dose <- databel("chr17.chunk1.dose")
databel2text(databel=chr17chunk1dose, file="chr1_chunk1.dose.txt", NAString="NA", row.names=TRUE, col.names=TRUE, transpose=FALSE)
I am trying to do the conversion inside a loop for all the files at a time but can't figure out how to do it. Any hep is appreciated.
#### I am trying some...