PlotPerturbScore: Function to plot perturbation score distributions.

Description Usage Arguments Value

View source: R/mixscape.R

Description

Density plots to visualize perturbation scores calculated from RunMixscape function.

Usage

1
2
3
4
5
6
7
PlotPerturbScore(
  object,
  target.gene.ident = NULL,
  group.by = "mixscape_class",
  col = "orange2",
  prtb.type = "KO"
)

Arguments

object

An object of class Seurat.

target.gene.ident

Class identity for cells sharing the same perturbation. Name should be the same as the one used to run mixscape.

group.by

Option to split densities based on mixscape classification. Default is set to NULL and plots cells by original class ID.

col

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.

prtb.type

specify type of CRISPR perturbation expected for labeling mixscape classifications. Default is KO.

Value

A ggplot object.


ibseq/scs-analysis documentation built on Feb. 27, 2021, 12:35 a.m.