align_mQTL: Peak alignement and normalisation of metabolomic data

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/mQTL.R

Description

Recursive Segment-Wise Peak Alignment (RSPA) for accounting peak position variation across metabolomic data

Usage

1
align_mQTL(datafile, outdat)

Arguments

datafile

raw spectra

outdat

aligned spectra

Details

The algorithm is based on the following workflow:

  1. Quotient probabilistic normalisation of metabolomic data.

  2. Automatic selection of a reference spectrum.

  3. Segmentate a reference spectrum.

  4. Then for each test spectrum:

    • segmentate a test spectrum.

    • match test and reference segments.

    • align a test spectrum.

Value

It returns aligned data.

Author(s)

Lyamine Hedjazi

References

Veselkov,K. et al (2009) Recursive Segment-Wise Peak Alignment of Biological 1H NMR Spectra for Improved Metabolic Biomarker Recovery, Anal. Chem., 81(1), 56-66.

See Also

alignSp, attachSegments, matchSegments, segmentateSp,format_mQTL, format_mQTL

Examples

1
2
3
4
5
6
7
8
9
  ## Not run: 
## Align metabolomic data profiles

  cleandat<-"CleanMetaboFile.dat" ## Metabolomic data file in csvs format
  aligdat<-"AlignData.dat" ## Aligned metabolomic profiles in csvs format

  align_mQTL(cleandat,aligdat)

## End(Not run)

mQTL documentation built on May 1, 2019, 7:30 p.m.