This function computes the empirical probability that two sets of cells from
distinct batches belong to the same population, based on the output of getIDEr
.
estimateProb(
seu,
ider,
batch.var = "Batch",
n_size = 40,
n.perm = 5,
verbose = FALSE
)
A Seurat object with additional columns for the IDER-based similarity and the empirical probability of rejection.
A Seurat object.
A list returned by the getIDEr
function.
Character string specifying the metadata column that contains batch information. Default is "Batch".
Numeric value indicating the number of cells per group used to compute the similarity. Default is 40.
Numeric value specifying the number of permutations to perform.
Logical. If TRUE
, progress messages are printed.
Default is FALSE
.
hdbscan.seurat
, getIDEr