Description Usage Arguments Value Examples
View source: R/batch_correction.R
"Basic" batch correction by median? from BatchCorrMetabolomics::doBC
1 |
object |
a MetaboSet object |
batch |
the column name for batch labels |
ref |
the column name for reference sample labels |
ref_label |
the label for reference samples |
... |
other parameters pased to doBC |
a MetaboSet object with the corrected abundances
1 2 3 4 | batch_corrected <- dobc(merged_sample, batch = "Batch", ref = "QC", ref_label = "QC")
# Evaluate batch correction
pca_bhattacharyya_dist(merged_sample, batch = "Batch")
pca_bhattacharyya_dist(batch_corrected, batch = "Batch")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.