If you have any questions, feel free to contact me via email: yuanyueli@zju.edu.cn. If you find this package useful, please consider citing the following publications:
Li, Y., Kind, T., Folz, J. et al.Spectral entropy outperforms MS/MS dot product similarity for small-molecule compound identification, Nat Methods18, 1524-1531 (2021). https://doi.org/10.1038/s41592-021-01331-z
Theoretical Background
Spectral entropy is an useful property to measure the complexity of a spectrum. It is inspried by the concept of Shannon entropy in information theory. (ref)
Entropy similarity, which measured spectral similarity based on spectral entropy, has been shown to outperform dot product similarity in compound identification. (ref)
The Flash Entropy Search algorithm significantly accelerates the computation of entropy similarity (ref)
How to use this package
This repository provides the source code for calculating spectral entropy and entropy similarity in multiple programming languages. The Flash Entropy Search algorithm is also implemented in Python.
If you have any questions, feel free to contact me via email: yuanyueli@zju.edu.cn. If you find this package useful, please consider citing the following publications:
Theoretical Background
Spectral entropyis an useful property to measure the complexity of a spectrum. It is inspried by the concept of Shannon entropy in information theory. (ref)Entropy similarity, which measured spectral similarity based on spectral entropy, has been shown to outperform dot product similarity in compound identification. (ref)The
Flash Entropy Searchalgorithm significantly accelerates the computation of entropy similarity (ref)How to use this package
This repository provides the source code for calculating
spectral entropyandentropy similarityin multiple programming languages. TheFlash Entropy Searchalgorithm is also implemented in Python.For Python users
A detailed tutorial is available here: https://msentropy.readthedocs.io
Installation
Usage of Classical entropy functions
Usage of Flash Entropy Search
For R users
Documentation is available at: https://cran.r-project.org/web/packages/msentropy/msentropy.pdf
Installation
Usage
For C/C++ users
Usage
An example is available in folder languages/c folder and Example.c, CMakeLists.txt
For JavaScript users
An example is available in folder languages/javascript folder and example.js
You can also refer to the MSViewer repository for an example of how to integrate this package into a web application.