FormatPeakList: Format Peak List

Description Usage Arguments Author(s)

View source: R/preproc_utils.R

Description

This function formats the CAMERA output to a usable format for MetaboAanlyst.

Usage

1
2
3
4
5
6
7
FormatPeakList(
  annotPeaks,
  annParams,
  filtIso = TRUE,
  filtAdducts = FALSE,
  missPercent = 0.5
)

Arguments

annotPeaks

The object created using the PerformPeakAnnotation.

annParams

The object created using the SetAnnotationParam function, containing user's specified or default parameters for downstream raw MS data pre-processing.

filtIso

Logical, filter out all isotopes except for [M]+ for positive ion mode and [M]- for negative ion mode. By default it is set to true.

filtAdducts

Logical, filter out all adducts except [M+H]+ for positive ion more and [M-H]- for negative ion mode. By default it is set to false.

missPercent

Numeric, specify the threshold to remove features missing in X% of samples. For instance, 0.5 specifies to remove features that are missing from 50% of all samples per group. Method is only valid when there are two groups.

Author(s)

Jasmine Chong jasmine.chong@mail.mcgill.ca, Mai Yamamoto yamamoto.mai@mail.mcgill.ca, and Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MetaboAnalystR3.0 documentation built on May 6, 2020, 11:03 p.m.