getCounts {Trendy} | 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 <- rbind(c(rep(1,50),seq_len(50)), rev(seq_len(100))) ExampleData <- SummarizedExperiment::SummarizedExperiment(assays=list("Counts"=m1)) myData <- getCounts(ExampleData)