View source: R/helperFunctions.R
getCounts | R Documentation |
Convenient helper function to extract the normalized expression matrix from the SummarizedExperiment
getCounts(DATA)
DATA |
An object of class |
A matrix
which contains the expression data
where genes/features are in rows and samples are in columns
m1 <- matrix(c(c(rnorm(50,5,1),sort(rnorm(50, 15, 5))), rnorm(100, 50,10)), 2, 100, TRUE)
ExampleData <-
SummarizedExperiment::SummarizedExperiment(assays=list("Counts"=m1))
myData <- getCounts(ExampleData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.