thresholdLinkDf {MetCirc} | R Documentation

## Threshold a data frame containing information on links

### Description

Threshold a link data frame

### Usage

    thresholdLinkDf(link0df, lower=0.75, upper=1)

### Arguments

`link0df` | 'data.frame', a link data frame that gives per each row information on linked features
`lower` | 'numeric', threshold value for similarity values, below this value linked features will not be returned
`upper` | 'numeric', threshold value for similarity values, above this value linked features will not be returned

### Details

'lower' and 'upper' are numerical values and truncates mass spectra based on their similarity values.

### Value

`thresholdLinkDf` returns a data frame that gives per each row information on linked features which are linked within certain thresholds

### Author(s)

Thomas Naake, thomasnaake@googlemail.com

### Examples

    data("spectra", package="MetCirc")
    data("similarityMat", package="MetCirc")
    link0df <- createLink0df(similarityMatrix=similarityMat,
        spectra_tissue, condition=c("SPL", "LIM", "ANT", "STY"))
    thresholdLinkDf(link0df=link0df, lower=0.5, upper=1)

[Package MetCirc version 1.18.0 Index]