cluster_sce | R Documentation |
Cluster SingleCellExperiment with monocle3::cluster_cells
cluster_sce(
sce,
cluster_method = "louvain",
reduction_method = "UMAP_Liger",
resolution = NULL,
k = 50,
louvain_iter = 1,
verbose = T,
...
)
sce |
a SingleCellExperiment object |
cluster_method |
Available methods include leiden and louvain. |
reduction_method |
Input slot for clustering. Available options are PCA, UMAP_Liger, tSNE_Liger. |
resolution |
Clustering resolution. If NULL, clustering method will be set to louvain. |
k |
Integer number of nearest neighbors to use when creating the k nearest neighbor graph for Louvain/Leiden clustering. k is related to the resolution of the clustering result, a bigger k will result in lower resolution and vice versa. Default is 50. |
louvain_iter |
Integer number of iterations used for Louvain clustering. The clustering result giving the largest modularity score will be used as the final clustering result. Default is 1. Note that if num_iter is greater than 1, the random_seed argument will be ignored for the louvain method. |
verbose |
A logic flag to determine whether or not we should print the run details. |
... |
see monocle3::cluster_cells for more clustering options. |
sce a SingleCellExperiment object annotated with reducedDims
Other clustering and dimensionality reduction:
.get_x_most_specific_genes()
,
.map_celltypes()
,
.map_celltypes_with_ewce()
,
map_custom_celltypes()
,
reduce_dims_sce()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.