BASiCS_PlotOffset: Visualise global offset in mean expression between two...

Description Usage Arguments Value Author(s) Examples

View source: R/BASiCS_PlotOffset.R

Description

Visualise global offset in mean expression between two BASiCS_Chain objects.

Usage

1
2
3
4
5
6
7
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

1
2
3
4
5
# Loading two 'BASiCS_Chain' objects (obtained using 'BASiCS_MCMC')
data("ChainSC")
data("ChainRNA")

BASiCS_PlotOffset(ChainSC, ChainRNA)

BASiCS documentation built on April 16, 2021, 6 p.m.