update_database | R Documentation |
This function updates the database according to new information
update_database(DB, all_adducts_matrix_POS, all_adducts_matrix_NEG, update,
adducts, isotopes)
DB |
The database used in a dataframe format. It has to be organized in the same fashion of the one included with the package |
all_adducts_matrix_POS |
A matrix contains information about all possible adducts. Columns are: KEGG.id (e.g. 'C00002'), adduct (e.g. 'M+H'), RT (previously known retention time for the compound, NA if unknown), formula (e.g. C10H17N5O13P3), theoretical mz (e.g. 508.003570124), charge (e.g. 1) mono ('mono' if monoisotopical form, 'iso' otherwise) |
all_adducts_matrix_NEG |
A matrix contains information about all possible adducts. Columns are: KEGG.id (e.g. 'C00002'), adduct (e.g. 'M-H'), RT (previously known retention time for the compound, NA if unknown), formula (e.g. C10H17N5O13P3), theoretical mz (e.g. 508.003570124), charge (e.g. -1) mono ('mono' if monoisotopical form, 'iso' otherwise) |
update |
A dataframe containing the new information |
adducts |
A dataframe containing adducts information as the one included in the enviPat package |
isotopes |
A dataframe containing isotopes information as the one included in the enviPat package |
Updated database
Francesco Del Carratore francescodc87@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.