Calculate batch support for expression data.
Usage
calcBatchSupport(
object,
batch,
inputAssay = "counts",
outputColumn = "batchSupport",
unexpressed = 0,
minSamples = 1
)Arguments
- object
A
SummarizedExperimentobject.- batch
A
factorindicating the batch of each sample.- inputAssay
The assay to use.
- outputColumn
The name of the column to store the batch support.
- unexpressed
The threshold below which a unit (CTSS, gene, etc.) is considered unexpressed.
- minSamples
The minimum number of samples in which a unit must be expressed to be considered supported.