View source: R/correct_peaks.R
correct_peaks | R Documentation |
Corrects retention time differences using parametric time warping as
implemented in ptw
.
correct_peaks(peak_list, mod_list, chrom_list, match_names = TRUE)
peak_list |
A 'peak_list' object created by |
mod_list |
A list of ptw models. |
chrom_list |
List of chromatograms supplied to create ptw models. |
match_names |
Logical. Whether to actively match the names of the
|
Once an appropriate warping model has been established, corrected retention times can be predicted for each peak. These are stored in a separate column in the list of peak tables.
The input list of peak tables is returned with extra columns containing the corrected retention time.
This function is adapted from getPeakTable function in the alsace package by Ron Wehrens.
Ron Wehrens, Ethan Bass
correct_rt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.