Description Usage Arguments Details Value Author(s) Examples
Create a data frame which contains features to link (indices).
1 | createLinkDf(similarityMatrix, spectra, condition, lower, upper)
|
similarityMatrix |
'matrix', a similarity matrix that contains the similarity measure between all precursors in the data set |
spectra |
MSpectra object containing spectra of similarityMatrix |
condition |
'character', vector containing the conditions/samples for which a linkDf is created |
lower |
'numeric', threshold value for similarity values, below this value linked features will not be included |
upper |
'numeric', threshold value for similarity values, above this value linked features will not be included |
'lower' and 'upper' are numerical values and truncate similar spectra. The function createLinkDf is a wrapper for the functions 'createLink0df' and 'thresholdLinkDf'.
'createLinkDf' returns a data frame that gives per each row information on linked features
Thomas Naake, thomasnaake@googlemail.com
1 2 3 4 5 6 | data("spectra", package = "MetCirc")
data("similarityMat", package = "MetCirc")
link0df <- createLink0df(similarityMatrix = similarityMat,
spectra_tissue, condition = c("SPL", "LIM", "ANT", "STY"))
createLinkDf(similarityMatrix = similarityMat, spectra = spectra_tissue,
condition = c("SPL", "LIM", "ANT", "STY"), lower = 0.5, upper = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.