plot_levels | R Documentation |
Fast plotting of gating results over each model level.
plot_levels(obj, pure.col = "green", impure.col = "gray")
obj |
Gated Seurat object output of scGate filtering function |
pure.col |
Color code for pure category |
impure.col |
Color code for impure category |
UMAP plots with 'Pure'/'Impure' labels for each level of the scGate model
scGate.model.db <- get_scGateDB()
model <- scGate.model.db$human$generic$Myeloid
# Apply scGate with this model
data(query.seurat)
query.seurat <- scGate(query.seurat, model=model,
reduction="pca", save.levels=TRUE)
library(patchwork)
pll <- plot_levels(query.seurat)
wrap_plots(pll)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.