View source: R/quantiseqr_helpers.R
eset_to_matrix | R Documentation |
Biobase::ExpressionSet
to a gene-expression matrix.Convert a Biobase::ExpressionSet
to a gene-expression matrix.
eset_to_matrix(eset, column)
eset |
|
column |
column name of the |
A matrix with gene symbols as rownames and sample identifiers as colnames.
data(dataset_racle)
dim(dataset_racle$expr_mat)
library("Biobase")
es_racle <- ExpressionSet(assayData = dataset_racle$expr_mat)
featureData(es_racle)$gene_symbol <- rownames(dataset_racle$expr_mat)
es_racle
head(eset_to_matrix(es_racle, "gene_symbol"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.