convert_chebi_to_kegg: Convert CHEBI codes to KEGG codes.

Description Usage Arguments Value Examples

View source: R/PATHWAY_ANALYSIS.R

Description

Converts a vector of CHEBI codes into a vector of the corresponding KEGG codes. This is performed by using our internal library used in NMR identification, it will not have all chebi codes.

Usage

1
convert_chebi_to_kegg(chebi_codes)

Arguments

chebi_codes

Vector with the CHEBI codes (each chebi must be structured like: CHEBI:<number>)

Value

Named vector with kegg codes and respective names. Vector names are the compound names and the vector elements the kegg codes.

Examples

1
2
keggs=convert_hmdb_to_kegg(c("CHEBI:15377", "CHEBI:26078", "CHEBI:30168"))
keggs

specmine documentation built on Sept. 21, 2021, 5:06 p.m.