[R] Frame Column to List (conversion)
biostat1
sridiyer at gmail.com
Sun Jul 22 04:04:43 CEST 2012
Hi,
Input Format: excel file (XLS)
Column 1: Gene ID (alphanumeric)
Column 2 - 10 : (numeric data).
inData = read.xls ( <fileName>)
geneLabel = inData [ , 1] - column 1 stored in geneLabel
tempData = inData [ , 2: 10]
expValues = data.matrix (tempData) - convert frame into Matrix format
expValues has the matrix format needed for analysis.
I need to bind gene labels as .
I have this data in geneLablel (extracted from data.frame)
How do I convert this to a list so i can use
rownames(expValues) <- ???????
thanks
--
View this message in context: http://r.789695.n4.nabble.com/Frame-Column-to-List-conversion-tp4637341.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list