splatSimBatchEffects {splatter} | R 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

    splatSimBatchEffects(sim, params)

### Arguments

`sim` | SingleCellExperiment to add batch effects to.
`params` | SplatParams object with simulation parameters.

### Value

SingleCellExperiment with simulated batch effects.

[Package splatter version 1.11.4 Index]