thresholdLinkMatrix {MetCirc} | R Documentation |
Threshold a link matrix
thresholdLinkMatrix(linkMatrix, threshold_low, threshold_high)
linkMatrix |
|
threshold_low |
|
threshold_high |
|
threshold_low
and threshold_high
are numerical values
and truncates similar/identical precursor ions;
similarity is momentarily based on the normalised dot product.
thresholdLinkMatrix
returns a matrix that gives per each row
information on linked features which are linked above a certain threshold
Thomas Naake, thomasnaake@googlemail.com
data("binnedMSP", package = "MetCirc") ## use only a selection binnedMSP <- binnedMSP[c(c(1:20, 29:48, 113:132, 240:259)),] similarityMat <- createSimilarityMatrix(binnedMSP) linkMatrix <- createLink0Matrix(similarityMatrix = similarityMat) thresholdLinkMatrix(linkMatrix = linkMatrix, threshold_low = 0.5, threshold_high=1)