estimateDispByGroup: Estimate edgeR dispersions separately for each group

View source: R/edgeR_utils.R

estimateDispByGroupR Documentation

Estimate edgeR dispersions separately for each group

Description

This takes a DGEList and a grouping factor and estimates the dispersion

Usage

estimateDispByGroup(
  dge,
  group = as.factor(dge$samples$group),
  batch,
  ...,
  BPPARAM = BiocParallel::bpparam()
)

Arguments

dge

A DGEList object.

group

A factor to use in spliting the samples in dge into groups.

batch

A vector or list of multiple vectors to be treated as batch effects when estimating dispersions.

...

Additional arguments are passed to edgeR::estimateDisp().

BPPARAM

A BiocParallelParam instance to be used for parallelization.

Value

A named list with one DGEList for each group. Each DGEList contains the samples and estimated dispersions for that group.

See Also

edgeR::estimateDisp()


DarwinAwardWinner/rctutils documentation built on July 22, 2022, 5:19 a.m.