create_advanced_batch_body
returns a string of advanced search POST request body.
create_advanced_batch_body(
chemical_alphabet = "all",
modifiers_type = "none",
metabolites_type = "all-except-peptides",
databases = "[\"hmdb\"]",
masses_mode = "mz",
ion_mode = "positive",
adducts = "[\"all\"]",
deuterium = "false",
tolerance = "7.5",
tolerance_mode = "ppm",
masses = "[400.3432, 288.2174]",
all_masses = "[]",
retention_times = "[18.842525, 4.021555]",
all_retention_times = "[]",
composite_spectra = paste0("[[{ \"mz\": 400.3432, \"intensity\": 307034.88 }, ",
"{ \"mz\": 311.20145, \"intensity\": 400.03336 }]]")
)
If all inputs are all correctly formatted, a dataframe will be returned for the result.
"CHNOPS", "CHNOPSCL", "ALL"
"none", "NH3", "HCOO", "CH3COO", "HCOONH3", "CH3COONH3"
"all-except-peptides", "only-lipids", "all-including-peptides"
"all", "all-except-mine", "HMDB", "LipidMaps", "Metlin", "Kegg", "in-house", "mine"
"neutral", "mz"
"positive", "negative"
for positive mode ["M+H", "M+2H", "M+Na", "M+K", "M+NH4", "M+H-H2O"] for negative mode ["M-H", "M+Cl", "M+FA-H", "M-H-H2O"], for neutral ["M"]
boolean 'true' 'false'
double (Range: [0..100])
"ppm", "mDa"
double
array of doubles
double
array of doubles
array of arrays of spectra_object