Compute the IDER-based similarity matrix for a list of Seurat objects. This function does not regress out batch effects and is designed to be used at the initial clustering step.
getDistMat(
seu_list,
verbose = TRUE,
tmp.initial.clusters = "seurat_clusters",
method = "trend",
additional.variate = NULL,
downsampling.size = 35,
downsampling.include = TRUE,
downsampling.replace = TRUE
)
A list of similarity matrices
A list containing Seurat objects. Required.
Print the message and progress bar (default: TRUE)
One of the colnames from `Seurat@meta.data`. Used as the group. Default: "seurat_clusters"
Methods for DE analysis. Options: "voom" or "trend" (default)
additional variate to include into the linear model to regress out
Number of cells used per group. Default: 35
Whether to include the group of size smaller than `downsampling.size`. Default: TRUE
Whether to use `replace` in sampling for group of size smaller than `downsampling.size` if they are kept. Default: TRUE
Zhiyuan Hu
calculateDistMatOneModel