plot_compareMeanOfEach_inPairs: To compare means in every plates

Description Usage Arguments Value Author(s) Examples

Description

plot to observe correlation between the estimates (e.g. mean) that represent intensities for each antibody in a single window coloring each assay separately.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
plot_compareMeanOfEach_inPairs(X, ...)

## S4 method for signature 'matrix'
plot_compareMeanOfEach_inPairs(
  X,
  groupID,
  log = TRUE,
  MAplot = FALSE,
  main,
  legend_par = list(x = "bottomright"),
  ...
)

## S4 method for signature 'BAf'
plot_compareMeanOfEach_inPairs(
  X,
  geometric = FALSE,
  by = "plate",
  log = TRUE,
  MAplot = FALSE,
  main = paste0("Comparing", if (geometric) " geometric" else "", " means"),
  legend_par = list(x = "bottomright"),
  prefix_plate = by,
  ...
)

Arguments

X

a BAf object or a matrix in which each ROW represents each TARGET and each COLUMN indicates each COLLECTION of samples to be paired. The column name should indicate the name of the collections.

...

any arguments that pass to plot and points

groupID

a vector of the group ids. Each group will be plotted in different color. It should have same number of rows of X

log

logically indicates if the coordinates are in log scale

MAplot

whether an MA-plot is wanted

main

same as the ones for 'plot' generic function (refer par)

legend_par

a list of parameter to be used in adding a legend. If groupID is missing then no legend will be added.

geometric

if the geometric mean is computed instead of arithmetic one.

by

by which column the samples should be devided during calculation of the mean

prefix_plate

the prefix added to the plate ID shown in X- and Y-axes

Value

A plot is generated and a "list" of x- and y- coordinate limits is returned.

Author(s)

Mun-Gwan Hong <mun-gwan.hong@scilifelab.se>

Examples

1
2
data(sba)
## Not run: plot_compareMeanOfEach_inPairs.BAf(sba)

Rundmus/BAf-R_package documentation built on May 18, 2020, 12:59 p.m.