Skip to content
Prev 207383 / 398513 Next

fetching columns from another file

Have you tried using merge?  E.g., something
like
   PCC <- merge(ptable[c("Gene1", "Gene2"),], table, suffices=c("",""))

By the way, why do you convert the output of
read.table to a matrix?  Since you have both
character and numeric data columns I think it
would make more sense to leave the dataset as
a data.frame (which read.table produces).

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com