baseline_corr: Two-dimensional baseline correction

View source: R/baseline_corr.R

baseline_corrR Documentation

Two-dimensional baseline correction

Description

'baseline_corr' provides a two-dimensional baseline correction by using the asymmetric least squares algorithm.

Usage

baseline_corr(chromatogram, ...)

Arguments

chromatogram

a raw_GCxGC object.

...

other parameters passed to baseline.corr function in the pwt package.

Details

This function takes a raw two-dimensional chromatogram and performs the baseline correction with the implemented function in baseline.corr \insertCiteEilers2004RGCxGC.

References

\insertAllCited

Examples

library(colorRamps)
chrom_name <- system.file("extdata", "08GB.cdf", package = "RGCxGC")
chrom_2D <- read_chrom(chrom_name, 5L)
chrom_bsline <- baseline_corr(chrom_2D)
plot(chrom_bsline, nlevels = 150,
           color.palette = matlab.like)


DanielQuiroz97/RGCxGC documentation built on March 12, 2023, 9:07 a.m.