Learn R Programming

mQTL (version 1.0)

pre_mQTL: Statistical Recoupling of variables for mQTL analysis

Description

Makes use of SRV to preprocess metabolomic data for dimensionality reduction by statistical recoupling of variables

Usage

pre_mQTL(infile, outfile, met, corrT = 0.9)

Arguments

infile

metabolomic datafile

outfile

reduced metabolomic datafile

met

used statistical summary

corrT

correlation threshold

Value

The algorithm:

  1. variables are associated into a series of clusters.

  2. integration of clusters into superclusters.

Details

The SRV algorithm forms clusters of variables using a measure of a local spectral dependency. Then tests whether consecutive clusters are correlated to aggregate them into a single supercluster.

References

Blaise,B. et al (2009) Statistical recoupling prior to significance testing in nuclear magnetic resonance based metabonomics, Anal. Chem., 81(15), 6242-6251.

See Also

SRV,post_mQTL

Examples

Run this code
# NOT RUN {
  
# }
# NOT RUN {
## Pre-process data 

    infile<-"AlignData.dat" ## Aligned metabolomic profiles in csvs format
    outfile<-"ReducedData.dat" ## Reduced data by SRV
    met<- "rectangle" ## Summary measure (mean, max,...)
    corrT<- 0.9 ## Correlation threshold (default 0.9)
    (pre_mQTL(infile, outfile, met, corrT)
# }

Run the code above in your browser using DataLab