Skip to content
Snippets Groups Projects
makeDiffPanel.Rd 894 B
Newer Older
Luke Zappia's avatar
Luke Zappia committed
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compare.R
\name{makeDiffPanel}
\alias{makeDiffPanel}
\title{Make difference panel}
\usage{
Luke Zappia's avatar
Luke Zappia committed
makeDiffPanel(diff, title = "Difference comparison", labels = c("Means",
  "Variance", "Library size", "Zeros per cell", "Zeros per gene",
  "Mean-variance relationship", "Mean-zeros relationship"))
Luke Zappia's avatar
Luke Zappia committed
}
\arguments{
Luke Zappia's avatar
Luke Zappia committed
\item{diff}{list returned by \code{\link{diffSCESets}}.}
Luke Zappia's avatar
Luke Zappia committed

\item{title}{title for the panel.}

\item{labels}{vector of labels for each of the seven sections.}
Luke Zappia's avatar
Luke Zappia committed
}
\value{
Combined panel plot
}
\description{
Combine the plots from \code{diffSCESets} into a single panel.
}
\examples{
Luke Zappia's avatar
Luke Zappia committed
\dontrun{
Luke Zappia's avatar
Luke Zappia committed
sim1 <- splatSimulate(nGenes = 1000, batchCells = 20)
Luke Zappia's avatar
Luke Zappia committed
sim2 <- simpleSimulate(nGenes = 1000, nCells = 20)
difference <- diffSCESets(list(Splat = sim1, Simple = sim2), ref = "Simple")
Luke Zappia's avatar
Luke Zappia committed
panel <- makeDiffPanel(difference)
}