Description Usage Arguments Details Value
View source: R/reticulated_functions.R
This function will use the scale.data slot of the Seurat object to find clusters using the HDBSCAN algorithm. HDBSCAN is implemented in python and connected to R using the reticulate package.
1 | hdbscan_clustering(adata)
|
adata |
Seurat object with var.genes slot filled. |
Make sure you have installed reticulate and enabled the right environment, before running this function. The following python (3.6) packages need to be installed:
- umap
- hdbscan
A character vector of class assignments. The class "-1" is used to label cells which could not be assigned to a cluster.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.