makeOverallPanel: Make overall panel

View source: R/compare.R

makeOverallPanelR Documentation

Make overall panel

Description

Combine the plots from compSCEs and diffSCEs into a single panel.

Usage

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

comp

list returned by compareSCEs.

diff

list returned by diffSCEs.

title

title for the panel.

row.labels

vector of labels for each of the seven rows.

Value

Combined panel plot

Examples


sim1 <- splatSimulate(nGenes = 1000, batchCells = 20)
sim2 <- simpleSimulate(nGenes = 1000, nCells = 20)
comparison <- compareSCEs(list(Splat = sim1, Simple = sim2))
difference <- diffSCEs(list(Splat = sim1, Simple = sim2), ref = "Simple")
panel <- makeOverallPanel(comparison, difference)



Oshlack/splatter documentation built on May 8, 2024, 5:33 a.m.