plot_QC_sample_signal_boxplot: Signal distribution across samples

Description Usage Arguments Value Functions Author(s) Examples

View source: R/plot_QC_sample.R

Description

Draw a plot that displays signal distribution across samples

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
plot_QC_sample_signal_boxplot(
  baf,
  sample_order = order(batch(baf, "sample")),
  color_tbl_s = NULL,
  main = deparse(substitute(baf)),
  xlab = "Sample (sorted)",
  ylab = "Signal Intensity",
  ...
)

plot_QC_sample_signal_boxplot.SBA(
  baf,
  sample_order = order(batch(baf, "sample")),
  color_tbl_s = default_color_SBA_ctrl_samples(sid(baf)),
  main = paste(unique(batch(baf, "binder")), collapse = ", "),
  xlab = "Sample (sorted)",
  ylab = "Raw MFI",
  ...
)

Arguments

baf

an object of the BAf-class

sample_order

the order of sample in plots. The default is the order by sample batch in order to easily check batch differences.

color_tbl_s

colors of samples on the plot. The information should be provided as a data.frame that has name, reg (regular expression to find the sample), col (color), type (negative or replicated).
If this is NULL, then no coloring is applied.

main, xlab, ylab, ...

same as boxplot

Value

a list of the "color_tbl_s"

Functions

Author(s)

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

Examples

1
2

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