create_massbank_db: Create massbank annotation database

View source: R/functions_create_db.R

create_massbank_dbR Documentation

Create massbank annotation database

Description

This function is intended to create a metID database using data from MassBank. This function was modified from the construct_massbank_database() function from package metID

Usage

create_massbank_db(
  file,
  only_ms2 = TRUE,
  version = "0.0.1",
  source = "MassBank",
  link = "https://massbank.eu/MassBank/",
  created_by = "MassBank",
  email = "email",
  rt = FALSE,
  threads = parallelly::availableCores()
)

Arguments

file

Database file in mgf format

only_ms2

Keep only metabolites that have MS2 data

version

Database version

link

Link to the database

created_by

Database creater

email

Email of database creater

rt

If TRUE database contains information of retention time

threads

Number of parallel processes for reading database


Coayala/MetaboTandem documentation built on April 7, 2024, 3:39 a.m.