splatPopSimBatchEffects: Simulate batch effects

View source: R/splatPop-simulate.R

splatPopSimBatchEffectsR Documentation

Simulate batch effects

Description

Simulate batch effects. Batch effect factors for each batch are produced using getLNormFactors and these are added along with updated means for each batch.

Usage

splatPopSimBatchEffects(sim, params)

Arguments

sim

SingleCellExperiment to add batch effects to.

params

SplatParams object with simulation parameters.

Value

SingleCellExperiment with simulated batch effects.


Oshlack/splatter documentation built on April 27, 2024, 8:20 p.m.