PlotEmbedding {countland} | R Documentation |
Plot cells using spectral embedding of dot products.
Description
Plot cells using spectral embedding of dot products.
Usage
PlotEmbedding(C, colors = color_palette)
Arguments
C |
countland object |
colors |
color palette for ggplot2, default=palette of 11 colors |
Value
generates plot of cells in two spectral embedding dimensions
Examples
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)
[Package countland version 0.1.2 Index]