qc.electrophoresis: Compare estimates with Agilent software's output

qc.electrophoresisR Documentation

Compare estimates with Agilent software's output

Description

This function is a shortcut to plot the estimates of a variable from the bioanalyzeR package against the values reported by the Agilent software, at all reported peaks. This allows you to check the quality of the estimates.

Usage

qc.electrophoresis(electrophoresis, variable, log = TRUE)

Arguments

electrophoresis

An electrophoresis object.

variable

Which variable to compare. One of "length", "concentration", "molarity".

log

Whether to log-scale both axes. Typically the data are more evenly spaced in log scale.

Details

If variable = "length", apply the mobility model(s) fit by read.bioanalyzer or read.tapestation to the peak centers' aligned times or relative distance and compare those estimated molecule lengths with the lengths reported by the Agilent software. If variable = "concentration" or variable = "molarity", integrate the appropriate variable between the boundaries of each peak and compare that sum with the figure reported by the Agilent software. For the ladder Agilent's reported values are hardcoded to the known, correct properties of the ladder molecules.

Value

A ggplot object containing several layers. You can draw it directly or customize it like any other ggplot object by adding more layers.

See Also

stdcrv.mobility


jwfoley/bioanalyzeR documentation built on Aug. 1, 2023, 4:46 a.m.