| plotDR {CATALYST} | R Documentation |
daFramePlot cell-level reduced dimensions
stored within a daFrame object.
plotDR(x, ...)
## S4 method for signature 'daFrame'
plotDR(x, dr = c("TSNE", "PCA", "MDS", "UMAP",
"DiffusionMap"), color_by = "meta20", facet = NULL)
x |
a |
... |
optional arguments. |
dr |
character string specifying the dimensionaly reduction method. |
color_by |
character string specifying a clustering,
marker, or |
facet |
a character string specifying
a |
a ggplot object.
Helena L. Crowell helena.crowell@uzh.ch
data(PBMC_fs, PBMC_panel, PBMC_md) daf <- daFrame(PBMC_fs, PBMC_panel, PBMC_md) daf <- runDR(daf, "PCA") plotDR(daf, "PCA", color_by = "condition") daf <- cluster(daf) plotDR(daf, "PCA", color_by = "meta5")