createLinkMatrix {MetCirc} | R Documentation |
Create a matrix which contains features to link (indices)
createLinkMatrix(similarityMatrix, threshold_low, threshold_high)
similarityMatrix |
|
threshold_low |
|
threshold_high |
|
threshold_low
and threshold_high
are numerical values
and truncate similar/identical precursor ions; similarity is currently
based on the normalised dot product.
createLinkMatrix
returns a matrix that gives per each row
information on linked features
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) createLinkMatrix(similarityMatrix = similarityMat, threshold_low = 0.5, threshold_high=1)