https://github.com/satijalab/seurat
Raw File
Tip revision: 9843b843ed0c3429d86203011fda00badeb29c2e authored by satijalab on 01 February 2021, 01:34:22 UTC
Merge pull request #3982 from satijalab/develop
Tip revision: 9843b84
PlotPerturbScore.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mixscape.R
\name{PlotPerturbScore}
\alias{PlotPerturbScore}
\title{Function to plot perturbation score distributions.}
\usage{
PlotPerturbScore(
  object,
  target.gene.ident = NULL,
  group.by = "mixscape_class",
  col = "orange2",
  prtb.type = "KO"
)
}
\arguments{
\item{object}{An object of class Seurat.}

\item{target.gene.ident}{Class identity for cells sharing the same
perturbation. Name should be the same as the one used to run mixscape.}

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

\item{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.}

\item{prtb.type}{specify type of CRISPR perturbation expected for labeling mixscape classifications. Default is KO.}
}
\value{
A ggplot object.
}
\description{
Density plots to visualize perturbation scores calculated from RunMixscape
function.
}
\concept{mixscape}
back to top