Skip to contents

Divide batches for observed counts

Usage

divide_batches(results, nbatch = 2, effect = 3, randseed = 0)

Arguments

results

The scMultisim result object, after running addExprNoise()

nbatch

Number of batches

effect

Batch effect size, default is 3

randseed

Random seed

Value

none

Examples

results <- sim_example_200_cells()
#> Time spent: 0.01 mins
add_expr_noise(results)
#> Adding experimental noise...
#> 50..100..150..200..Using atac_counts
#> Time spent: 0.02 mins
divide_batches(results)
#> Adding batch effects...