View source: R/countland_cluster.R
| Cluster | R Documentation | 
Perform spectral clustering on dot products.
Cluster(C, n_clusters, n_components = NULL)
| C | countland object | 
| n_clusters | number of clusters, integer | 
| n_components | number of components from spectral embedding to use (default NULL, will be set to n_clusters), integer | 
countland object with slot cluster_labels
gold_path <- system.file("testdata", package = "countland", mustWork = TRUE)
gold.data <- Seurat::Read10X(data.dir = gold_path)
C <- countland(gold.data)
C <- Dot(C)
C <- Embed(C,n_components=5)
C <- Cluster(C,n_clusters=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.