R/getGlobalMeans.R
getGlobalMeans.Rd
Get the global means of a matrix
getGlobalMeans(obj, targets = NULL, assay = c("atac", "rna", "array"))
Input SummarizedExperiment object
Column names or indices to indicate which samples to shrink towards
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")