read.ba.peaktable: Read a peak table from a BioAnalyzer Result CSV file

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/read.ba.peaktable.R

Description

The BioAnalyzer result CSV files contain multiple "peak tables". This function parses the CSV file for a given sample, by default the Ladder, and returns a data frame.

Usage

1
read.ba.peaktable(CSV, target = "Ladder")

Arguments

CSV

Path to a BioAnalyzer Result CSV file.

target

Name of a sample present in that file. Default: "Ladder".

Details

The file is read once with the readLines() function, the boundaires of the peak table are searched, and the file is read once again within these boundaries with the scan() function.

Value

Data frame with the following columns names. The original names follow.

Size

Size [bp]

Conc

Conc. [pg/µl]

Molarity

Molarity [pmol/l]

Observations

Observations

Area

Area

Time

Aligned Migration Time [s]

Peak.Height

Peak Height

Peak.Width

Peak Width

Total.perc

% of Total

Time.corrected.area

Time corrected area

All columns are numeric type, except "Observations" which is a factor. "Lower Marker" and "Upper Marker" indicate the size markers mixed with all samples. In the case of Ladder peak tables, "Ladder Peak" indicates the ladder peaks.

Author(s)

Charles Plessy

References

See BioAnalyzer's 2100 Expert documentation for more information.

See Also

read.ba.sample

Examples

1
2
ladder <- read.ba.peaktable(system.file("data/ba.results.csv", package = "molaR"))
summary(ladder)

charles-plessy/molaR documentation built on April 15, 2021, 1:21 a.m.