readExprsMatrix | R Documentation |
The function reads in an expression matrix into an ExpressionSet object. The
expression matrix should be saved in the file format supported by the
read_exprs_matrix
function: currently supported formats
include tab-delimited file and gct files.
readExprsMatrix(x)
x |
A file containing an expression matrix |
The function is a wrapper of the read_exprs_matrix
function in
the ribiosIO
package. The difference is it returns a valid
ExpressionSet
object instead of a primitive matrix.
An ExpressionSet
object holding the expression matrix. Both
pData and fData are empty except for the feature/sample names recorded in
the expression matrix.
Jitao David Zhang <jitao_david.zhang@roche.com>
read_exprs_matrix
in the ribiosIO
package.
idir <- system.file("extdata", package="ribiosExpression")
myeset <- readExprsMatrix(file.path(idir, "sample_eset_exprs.txt"))
myeset2 <- readExprsMatrix(file.path(idir, "test.gct"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.