Skip to content
Snippets Groups Projects
makeOverallPanel.Rd 1.03 KiB
Newer Older
  • Learn to ignore specific revisions
  • % Generated by roxygen2: do not edit by hand
    % Please edit documentation in R/compare.R
    \name{makeOverallPanel}
    \alias{makeOverallPanel}
    \title{Make overall panel}
    \usage{
    
    Luke Zappia's avatar
    Luke Zappia committed
    makeOverallPanel(comp, diff, title = "Overall comparison",
      row.labels = c("Means", "Variance", "Mean-variance relationship",
      "Library size", "Zeros per cell", "Zeros per gene",
      "Mean-zeros relationship"))
    
    }
    \arguments{
    
    \item{comp}{list returned by \code{\link{compareSCEs}}.}
    
    \item{diff}{list returned by \code{\link{diffSCEs}}.}
    
    Luke Zappia's avatar
    Luke Zappia committed
    
    \item{title}{title for the panel.}
    
    \item{row.labels}{vector of labels for each of the seven rows.}
    
    }
    \value{
    Combined panel plot
    }
    \description{
    
    Combine the plots from \code{compSCEs} and \code{diffSCEs} 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)
    
    sim2 <- simpleSimulate(nGenes = 1000, nCells = 20)
    
    comparison <- compSCEs(list(Splat = sim1, Simple = sim2))
    difference <- diffSCEs(list(Splat = sim1, Simple = sim2), ref = "Simple")
    
    Luke Zappia's avatar
    Luke Zappia committed
    panel <- makeOverallPanel(comparison, difference)
    }