convert_multiple_spcmnm_to_kegg: Convert specmine metabolite codes to KEGG codes.

Description Usage Arguments Value Examples

View source: R/PATHWAY_ANALYSIS.R

Description

Converts a vector of specmine metabolite 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

Arguments

spcmnm_codes

Vector with the SPCMNM codes (each chebi must be structured like: SPCMNM<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_multiple_spcmnm_to_kegg(c("SPCMNM2111", "SPCMNM2142", "SPCMNM069774"))
keggs

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