getDistMat | R Documentation |
Compute the IDER-based similarity matrix for a list of Seurat objects. This function does not regress out batch effects and is designed for use during the initial clustering step.
getDistMat(
seu_list,
verbose = TRUE,
tmp.initial.clusters = "seurat_clusters",
method = "trend",
batch.var = "Batch",
additional.variate = NULL,
downsampling.size = 35,
downsampling.include = TRUE,
downsampling.replace = TRUE
)
seu_list |
A list containing Seurat objects. Required. |
verbose |
Logical. If |
tmp.initial.clusters |
Character string specifying one of the column names from |
method |
Character string specifying the method for differential expression analysis. Options are "voom" or "trend" (default is "trend"). |
batch.var |
Character string specifying the metadata column containing batch information. Default is "Batch". |
additional.variate |
Character vector of additional variates to include in the linear model for regression. |
downsampling.size |
Numeric value indicating the number of cells to use per group. Default is 35. |
downsampling.include |
Logical. Whether to include groups with fewer cells than
|
downsampling.replace |
Logical. Whether to sample with replacement for groups
smaller than |
A list of similarity matrices.
calculateDistMatOneModel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.