BASiCS_PlotOffset {BASiCS} | R Documentation

## Visualise global offset in mean expression between two chains.

### Description

Visualise global offset in mean expression between two `BASiCS_Chain` objects.

### Usage

    BASiCS_PlotOffset(
      Chain1,
      Chain2,
      Type = c("offset estimate", "before-after", "MAPlot"),
      GroupLabel1 = "Group 1",
      GroupLabel2 = "Group 2"
    )

### Arguments

`Chain1, Chain2` | BASiCS_Chain objects to be plotted.
`Type` | The type of plot generated. `"offset estimate"` produces a boxplot of the offset alongside an estimate of the global offset. `"before-after"` produces MA plots of Mean expression against log2(fold-change) before and after offset correction. `"MA plot"` produces an MA plot of Mean expression against log2(fold-change).
`GroupLabel1, GroupLabel2` | Labels for Chain1 and Chain2 in the resulting plot(s).

### Value

Plot objects.

### Author(s)

Catalina A. Vallejos cnvallej@uc.cl

Nils Eling eling@ebi.ac.uk

Alan O'Callaghan

### Examples

    # Loading two 'BASiCS_Chain' objects (obtained using 'BASiCS_MCMC')
    data("ChainSC")
    data("ChainRNA")

    BASiCS_PlotOffset(ChainSC, ChainRNA)

[Package BASiCS version 2.6.0 Index]