Density plots to visualize perturbation scores calculated from RunMixscape function.
PlotPerturbScore(
object,
target.gene.ident = NULL,
group.by = "mixscape_class",
col = "orange2",
prtb.type = "KO"
)
An object of class Seurat.
Class identity for cells sharing the same perturbation. Name should be the same as the one used to run mixscape.
Option to split densities based on mixscape classification. Default is set to NULL and plots cells by original class ID.
Specify color of target gene class or knockout cell class. For control non-targeting and non-perturbed cells, colors are set to different shades of grey.
specify type of CRISPR perturbation expected for labeling mixscape classifications. Default is KO.
A ggplot object.