Hi,
New to R. Need a bit of help. Thanks
I am trying to import data from Excel file. The package I am trying to use
requires data in Matrix format.
Excel -> R Matrix with the constraint that the very first column in Excel
file should became the names for rows of the matrix.
Example. Data has 10
Hi,
Input Format: excel file (XLS)
Column 1: Gene ID (alphanumeric)
Column 2 - 10 : (numeric data).
inData = read.xls ( )
geneLabel = inData [ , 1] - column 1 stored in geneLabel
tempData = inData [ , 2: 10]
expValues = data.matrix (tempData) - convert frame into Matrix format
exp
2 matches
Mail list logo