Divide batches for observed counts
Arguments
- results
The scMultisim result object, after running
addExprNoise()
- nbatch
Number of batches
- effect
Batch effect size, default is 3
- randseed
Random seed
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...