View source: R/calculate_entropy.R
calculate_entropy | R Documentation |
This function calculates entropy similarity between two spectra
calculate_entropy(
index,
target,
frags,
ms2_tolerance,
ppm_tolerance,
threshold = 0.1
)
index |
Index of the first spectrum |
target |
Index of the second spectrum |
frags |
List of fragments |
ms2_tolerance |
MS2 tolerance |
ppm_tolerance |
ppm tolerance |
threshold |
Threshold value for the score |
A list containing the calculated entropy similarity values or NULL if the score is below the threshold
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.