SRV: Statistical Recoupling of Variables

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

View source: R/SRV.R

Description

Base function for dimensionality reduction by statistical recoupling of variables

Usage

1
SRV(X, minsize, correl, clustf = median)

Arguments

X

matrix of metabolomic data

minsize

a numerical value defining the singlet size

correl

a numerical value defining the bucketting resolution

clustf

a numerical value defining the correlation threshold

Value

A list:

indicesdebf

a vector indicating the starting border of superclusters

indicesfinf

a vector indicating the ending border of superclusters

Xcluster

matrix of reduced data

Author(s)

Jean-Baptiste Cazier

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

pre_mQTL

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# Load data files

    load_datafiles()

    Sp<-read.table(phenofile, as.is=TRUE, header=TRUE, sep='\t')

# Perform the SRV analysis to reduce the number of dimension of Spectra #data (Sp)

    corrT=0.9 # correlation threshold
    minsize=10 # singlet size
    met="rectangle" # summary measure

    SRV<-SRV(t(Sp), minsize, corrT,clustf=met)

mQTL.NMR documentation built on Nov. 1, 2018, 2:13 a.m.