Description Usage Arguments Value
View source: R/batch_correction.R
Aligns features with m/z or retention time shift between batches using alignBatches from batchCorr package. See more details in the help file and the original paper.
1 2 | align_batches(object_na, object_fill, batch, mz, rt, mzdiff, rtdiff,
plot_folder = NULL)
|
object_na |
a MetaboSet object with missing values as NA |
object_fill |
a similar MetaboSet object with imputed values (used to compute distances between features, can contain missing values as well) |
batch |
character, column name of pData with batch labels |
mz, rt |
column names of m/z and retention time columns in fData |
mzdiff, rtdiff |
the windows for m/z and retention time for aligning features |
plot_folder |
path to the location where the plots should be saved, if NULL, no plots are saved |
a MetaboSet object with the aligned features
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.