Displaying 2 results from an estimated 2 matches for "singlefile".
Did you mean:
single_file
2013 Jun 18
1
hist function in a for loop
Dear all,
I need to create a for-loop in which I can compute multiple histograms
My code is the following :
#singlefile includes huge csv file
#I want to specify the binsize
#I would like to compute in the for -loop the histograms
numfiles <- length(singlefile)
for (i in 1 :51)
{
binsize <- -20 :20/2
hist(singlefile(singlefile$GVC[singlefile$new_id==i]], break=seq(), by =
binsize)))
Wha...
2011 Dec 21
1
Looping over files
...uot;?
"chr17.chunk1.prob.fvi"?
...........
.........
........
"chr17.chunk10.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 file...