thresholdLinkDf {MetCirc} | R Documentation |
Threshold a link data frame based on lower and upper similarity values. The function will return that lie within the defined bounds.
thresholdLinkDf(link0df, lower = 0.75, upper = 1)
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 |
'lower' and 'upper' are numerical values and truncates mass spectra based on their similarity values.
'thresholdLinkDf' returns a data frame that gives per each row information on linked features which are linked within certain thresholds.
Thomas Naake, thomasnaake@googlemail.com
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)