getIDEr | R Documentation |
Calculate the similarity matrix based on Inter-group Differential Expression (IDER) metrics with the selected batch effects regressed out.
getIDEr(
seu,
group.by.var = "initial_cluster",
batch.by.var = "Batch",
verbose = TRUE,
use.parallel = FALSE,
n.cores = 1,
downsampling.size = 40,
downsampling.include = TRUE,
downsampling.replace = TRUE
)
seu |
A Seurat S4 object that includes an |
group.by.var |
Character string specifying the column in |
batch.by.var |
Character string specifying the metadata column that indicates batch information. Default is "Batch". |
verbose |
Logical. If |
use.parallel |
Logical. If |
n.cores |
Numeric. The number of cores to use for parallel computing. Default is 1. |
downsampling.size |
Numeric. The number of cells representing each group. Default is 40. |
downsampling.include |
Logical. Whether to include groups with fewer
cells than |
downsampling.replace |
Logical. Whether to sample with replacement if a
group is smaller than |
A list of objects: a similarity matrix, a numeric vector recording the cells used, and a data frame of the group combinations included.
plotNetwork
, finalClustering
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.