search for: gomf

Displaying 1 result from an estimated 1 matches for "gomf".

Did you mean: omf
2006 Sep 11
0
' quote problem in reading lots of files at once
...iable number of rows. I want to read all the files and select the first column and 4th column and fill the values into a big matrix. I have a pre-made matrix that would have all rownames (1st column) and coloumn names (4th column from file to be read). mymat <- matrix(data = 1, nrow = length(gomfs), ncol = length(x)) rownames(tarmat)<-gomfs colnames(tarmat)<-x # here gomfs is a large set of rownames from the files to be read. # x (114 files) for(i in x){ xa <- read.table(i,sep='\t') a2 <- as.character(xa[,1]) a3 <- xa[,4] nd <- da...