makeCompPanel {splatter} | R Documentation

## Make comparison panel

### Description

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

### Usage

    makeCompPanel(
      comp,
      title = "Comparison",
      labels = c("Means", "Variance", "Mean-variance relationship", "Library size",
        "Zeros per gene", "Zeros per cell", "Mean-zeros relationship")
    )

### Arguments

`comp` | list returned by `compareSCEs`.
`title` | title for the panel.
`labels` | vector of labels for each of the seven plots.

### Value

Combined panel plot

### Examples

    ## Not run:
    sim1 <- splatSimulate(nGenes = 1000, batchCells = 20)
    sim2 <- simpleSimulate(nGenes = 1000, nCells = 20)
    comparison <- compareSCEs(list(Splat = sim1, Simple = sim2))
    panel <- makeCompPanel(comparison)

    ## End(Not run)

[Package splatter version 1.11.4 Index]