reac2corR Documentation

reac2cor

Description

Use the intensity of putative molecules in repeated samples to calculate correlations and partial correlation in a user defined threshold of false discovery rate for significance testing. After the correlation test the function also overlay significant correlations with all putative reactions between two masses.

Usage

  reac2cor(mw, classTable, opt = "cor", corths = 0.75,
    corprob = 0.8, pcorprob = 0.8)

Arguments

mw

two column of adjacency matrix indexes connecting compounds by reactions.

classTable

classification table, with intensities for repeated samples.

opt

correlation option, "cor" for correlation, and "pcor" for partial correlation.

corths

correlation intensity threshold.

corprob

probability that the correlation is considered significant.

pcorprob

probability that the partial correlation is considered significant.

Value

A list of estimated correlations and reactions.