View source: R/countland_cluster.R
PlotEmbedding | R Documentation |
Plot cells using spectral embedding of dot products.
PlotEmbedding(C, colors = color_palette)
C |
countland object |
colors |
color palette for ggplot2, default=palette of 11 colors |
generates plot of cells in two spectral embedding dimensions
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)
PlotEmbedding(C)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.