precomputeBootstrapMeans: Pre-compute the global means for bootstrapping compartments

Description Usage Arguments Value Examples

View source: R/getGlobalMeans.R

Description

Pre-compute the global means for bootstrapping compartments

Usage

1
2
3
4
5
6
7
8
precomputeBootstrapMeans(
  obj,
  targets = NULL,
  num.bootstraps = 1000,
  assay = c("array", "atac", "bisulfite"),
  parallel = FALSE,
  num.cores = 1
)

Arguments

obj

Input SummarizedExperiment object

targets

Optional targets to shrink towards

num.bootstraps

The number of bootstraps to compute

assay

What type of assay the data are from

parallel

Whether to run in parallel

num.cores

How many cores to use for parallel processing

Value

A matrix of bootstrapped global means

Examples

1
2
data("meth_array_450k_chr14", package = "compartmap")
array.bootstrap.global.means <- precomputeBootstrapMeans(array.data.chr14, assay = "array", num.bootstraps = 2)

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