plot_levels {scGate}R Documentation

Plot scGate filtering results by level

Description

Fast plotting of gating results over each model level.

Usage

plot_levels(obj, pure.col = "green", impure.col = "gray")

Arguments

obj

Gated Seurat object output of scGate filtering function

pure.col

Color code for pure category

impure.col

Color code for impure category

Value

UMAP plots with 'Pure'/'Impure' labels for each level of the scGate model

Examples


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)


[Package scGate version 1.6.2 Index]