View source: R/initialClustering.R
initialClustering | R Documentation |
Perform batch-specific initial clustering on a Seurat object.
initialClustering(
seu,
batch.var = "Batch",
cut.height = 0.4,
nfeatures = 2000,
additional.vars.to.regress = NULL,
dims = seq_len(14),
resolution = 0.6,
downsampling.size = 50,
verbose = FALSE
)
seu |
A Seurat object. Required. |
batch.var |
Character string specifying one of the column names in |
cut.height |
Numeric value specifying the height at which to cut hierarchical trees. Default is 0.4. |
nfeatures |
Numeric value indicating the number of high-variance genes to use. Default is 2000. |
additional.vars.to.regress |
Character vector of additional variable names from |
dims |
Numeric vector specifying the dimensions to be used for clustering (passed to Seurat). Default is 1:14. |
resolution |
Numeric value for clustering resolution (passed to Seurat). Default is 0.6. |
downsampling.size |
Numeric value indicating the number of cells representing each group. Default is 40. |
verbose |
Logical. If |
A Seurat S4 object with initial cluster assignments stored in the initial_cluster
column of its meta.data
.
getIDEr
, finalClustering
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.