cluster | R Documentation |
Cluster similar cells based on their expression profiles.
cluster(
x,
method = c("leiden"),
resolution = 1,
n_neighbors = 50,
out_dir = NULL
)
x |
A SpatialExperiment object. |
method |
Clustering method (only |
resolution |
Value of the parameter controlling the coarseness of the clusters (higher resolution yields more clusters). |
n_neighbors |
The maximum number of nearest neighbors to compute. |
out_dir |
Name of the output analysis directory. If specified, the object and the corresponding plots will be saved there. |
A SpatialExperiment object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.