read.matrix {limma} | R Documentation |
Read a numeric matrix from a file assuming column headings on the first line. Not normally used directly by users.
read.matrix(file,nrows=0,skip=0,...)
file |
character string giving the file name |
nrows |
maximum number of rows of data to read, if greater than zero |
skip |
number of lines of the data file to skip before reading data |
... |
any other arguments to be passed to scan |
This function is similar to but faster than read.table(file,header=TRUE)
when all the columns are numeric.
A numeric matrix with column names.
Gordon Smyth
An overview of LIMMA functions for reading data is given in 3.ReadingData.