[R] make a file from four individual files. but keys can be missing among files.

2013-10-04 Thread franklin johnson
Hello, I have a list of four files. Each file is a list of gene models, and each gene model has attributes in file columns. The sample_week-over-sample_week fold change value foreach i in file is in column 5. The gene model ID is in column 1. To make it more complicated, each gene i may not be fou

[R] help on carrying forward several vectors of rownames

2013-07-26 Thread franklin johnson
Dear reader, I'm trying to use multiple vectors as rownames for the read.table function. I tried to insert these vectors as a list, e.g. row.names=c(1,4), from the excel file. I tried other ways, as if the argument only took continuous tab separated columns, e.g. row.names=c(1:4). But, this also di