getGlobalMeans: Get the global means of a matrix

Description Usage Arguments Value Examples

View source: R/getGlobalMeans.R

Description

Get the global means of a matrix

Usage

1
getGlobalMeans(obj, targets = NULL, assay = c("array", "atac", "bisulfite"))

Arguments

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

Value

A vector of global or targeted means

Examples

1
2
data("meth_array_450k_chr14", package = "compartmap")
array.global.means <- getGlobalMeans(array.data.chr14, assay = "array")

JordanVeldboom/compartmap documentation built on July 3, 2020, 6:32 p.m.