Create MoNA annotation database
create_mona_db.Rd
This function is intended to create a metID database using data from MassBank of America.
This function was modified from the construct_massbank_database()
function from
package metID
Usage
create_mona_db(
file,
only_ms2 = TRUE,
version = "0.0.1",
source = "MassBank of America",
link = "https://mona.fiehnlab.ucdavis.edu/",
created_by = "MoNA",
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 of database creater
- rt
If
TRUE
database contains information of retention time- threads
Number of parallel processes for reading database