kegg_compounds {mzkit} R Documentation

Load the kegg database for the annotation

Description

Usage

kegg_compounds(
    precursors = ['[M+H]+','[M+H-H2O]+'],
    mzdiff = 'ppm:20',
    repofile = 'KEGG_compounds.msgpack',
    strict = FALSE);

Arguments

precursors

a character vector of the precursor adducts type, apply for the precursor m/z evaluation.

mzdiff

a tolerance error value for make ms1 matches

repofile

the local database file for the kegg compounds. should be a messagepack data file of a collection of the GCModeller compound object.

strict

option strict for check of the file exists or not of the repo file. an error was throw if the given repo file is missing from the local filesystem, or use the kegg compound data repo file from GCModeller internal resource file if not strict and also the given repo file is invalid

Details

Authors

xieguigang

Value

a wrapper of the mass search engine which have kegg compound library loaded.

Examples


[Package mzkit version 3.2.56.56444 Index]