thresholdLinkDf: Threshold a data frame containing information on links

View source: R/linkDf.R

thresholdLinkDfR Documentation

Threshold a data frame containing information on links

Description

Threshold a link data frame based on lower and upper similarity values. The function will return the links that lie within the defined bounds.

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 truncate 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,
    sps_tissue, condition = c("SPL", "LIM", "ANT", "STY"))
thresholdLinkDf(link0df = link0df, lower = 0.5, upper = 1)


tnaake/MetCirc documentation built on Nov. 3, 2024, 11:16 a.m.