View source: R/getGlobalMeans.R
getGlobalMeans | R Documentation |
Get the global means of a matrix
getGlobalMeans(obj, targets = NULL, assay = c("atac", "rna", "array"))
obj |
Input SummarizedExperiment object |
targets |
Column names or indices to indicate which samples to shrink towards |
assay |
What type of assay the data are from |
A vector of global or targeted means
data("k562_scrna_chr14", package = "compartmap")
scrna.global.means <- getGlobalMeans(k562_scrna_chr14, assay = "rna")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.