get_mz_by_KEGGcompoundIDs: get_mz_by_KEGGcompoundIDs

View source: R/get_mz_by_KEGGcompoundIDs.R

get_mz_by_KEGGcompoundIDsR Documentation

get_mz_by_KEGGcompoundIDs

Description

This function generates list of expected m/z based on adducts for KEGG compounds.

Usage

get_mz_by_KEGGcompoundIDs(keggIDs, queryadductlist = c("M+H"), 
syssleep = 0.01)

Arguments

keggIDs

Vector of KEGG compound IDs. e.g.: c("C00073", "C00019")

queryadductlist

List of adducts to be used for searching. eg: c("M+H","M+Na","M+K"), c("positive") for all positive adducts, c("negative") for all negative adducts, c("all") for all adducts

syssleep

Wait time between queries to prevent overloading the KEGG REST interface. e.g.: 0.1

Value

Returns an R object with a list of expected m/z for input list of KEGG compounds.

Author(s)

Karan Uppal <kuppal2@emory.edu>


yufree/xMSannotator documentation built on Oct. 31, 2022, 12:20 a.m.