Learn R Programming

mssearchr

The primary goal of the mssearchr package is to enhance the capabilities of R users for conducting library searches against electron ionization mass spectral databases.

The mssearchr package offers the following tools:

  • custom implementation of the Identity (EI Normal) algorithm;
  • custom implementation of the Similarity (EI Simple) algorithm;
  • library search via NIST API (i.e., by calling the nistms$.exe file);
  • reading/writing msp files.

Installation

# Install 'mssearchr' from CRAN:
install.packages("mssearchr")

# Install 'mssearchr' from GitHub:
library(devtools)
install_github("https://github.com/AndreySamokhin/mssearchr")

Copy Link

Version

Install

install.packages('mssearchr')

Monthly Downloads

135

Version

0.2.0

License

MIT + file LICENSE

Maintainer

Andrey Samokhin

Last Published

December 9th, 2024

Functions in mssearchr (0.2.0)

ReadMsp

Read mass spectra from an msp-file (NIST format)
PreprocessMassSpectra

Pre-process mass spectra
WriteMsp

Write mass spectra in an msp-file (NIST format)
LibrarySearch

Perform the library search within R
LibrarySearchUsingNistApi

Perform the library search using an API from NIST
massbank_alkanes

Mass spectra of alkanes