Create pseudo-replicates, stratified by grouping variable.

pseudoReplicates(object, split.by, n = 2)

Arguments

object

Seurat object

split.by

name of metadata column to create pseudo-replicates for.

n

numerical, number of replicates to create.

Value

Returns a Seurat object where latest pseudo replicates results will be stored in object metadata under 'pseudo_replicates'. Note that 'pseudo_replicates' will be overwritten every time pseudoReplicates is run

Author

Nicholas Mikolajewicz