makeDiffPanel {splatter} | R Documentation

## Make difference panel

### Description

Combine the plots from `diffSCEs` into a single panel.

### Usage

    makeDiffPanel(
      diff,
      title = "Difference comparison",
      labels = c("Means", "Variance", "Library size", "Zeros per cell", "Zeros per gene",
        "Mean-variance relationship", "Mean-zeros relationship")
    )

### Arguments

`diff` | list returned by `diffSCEs`.
`title` | title for the panel.
`labels` | vector of labels for each of the seven sections.

### Value

Combined panel plot

### Examples

    ## Not run:
    sim1 <- splatSimulate(nGenes = 1000, batchCells = 20)
    sim2 <- simpleSimulate(nGenes = 1000, nCells = 20)
    difference <- diffSCEs(list(Splat = sim1, Simple = sim2), ref = "Simple")
    panel <- makeDiffPanel(difference)

    ## End(Not run)

[Package splatter version 1.11.4 Index]