cluster_genes | R Documentation |
Cluster genes into modules using louvain/leiden algorithm
cluster_genes(x, ...)
## S3 method for class 'Seurat'
cluster_genes(
x,
features = NULL,
reduction = "pca",
assay = NULL,
slot = "data",
dims = 1:10,
approx = TRUE,
algorithm = "leiden",
resolution = 0.6,
return.seurat = FALSE,
...
)
x |
object with genes to clusters. |
... |
arguments passed down to methods. |
features |
which features to cluster. |
reduction |
what reduction embeddings to use. |
assay |
assay for Seurat objects. |
slot |
slot for Seurat objects. |
dims |
dimensions to use. |
approx |
whether to use approximate method for PCA. |
algorithm |
algorithm for clustering. |
resolution |
resolution for clustering. |
return.seurat |
whether to return a Seurat object. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.