Simulate batch effects. Batch effect factors for each batch are produced
using getLNormFactors
and these are added along with updated
means for each batch.
splatSimBatchEffects(sim, params)
sim | SingleCellExperiment to add batch effects to. |
---|---|
params | SplatParams object with simulation parameters. |
SingleCellExperiment with simulated batch effects.