batchEstPlot: batchEstPlot

Description Usage Arguments Value Examples

View source: R/plot-methods.R

Description

This function uses linear models to estimate the batch effect magnitude using the common data across batches. It compares the result with theoretical distribution of diferrent levels of batch magnitude.

Usage

1

Arguments

mbac

Object of class mbac generated by *createMbac*.

...

Other graphical parameters.

Value

Batch estimation plot is displayed.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data('multiyeast')

my_mbac <- createMbac (inputOmics = list(A.rna, A.gro, B.rna, B.ribo, C.rna, C.par),
                       batchFactor = c("A", "A", "B", "B", "C", "C"),
                       experimentalDesign = list("A" =  c("Glu+", "Glu+",
                       "Glu+", "Glu-", "Glu-", "Glu-"),
                       "B" = c("Glu+", "Glu+", "Glu-", "Glu-"),
                       "C" = c("Glu+", "Glu+", "Glu-", "Glu-")),
                       omicNames = c("RNA", "GRO", "RNA", "RIBO", "RNA", "PAR"))

batchEstPlot (my_mbac)

ConesaLab/MultiBaC documentation built on Jan. 24, 2022, 5:17 a.m.