convert_hmdb_to_kegg: Get kegg codes from hmdb codes:

View source: R/PATHWAY_ANALYSIS.R

convert_hmdb_to_keggR Documentation

Get kegg codes from hmdb codes:

Description

Get kegg codes from hmdb codes:

Usage

convert_hmdb_to_kegg(hmdb_codes)

Arguments

hmdb_codes

Character vector of HMDB identifiers.

Value

A named character vector with the KEGG compound identifiers corresponding to the input HMDB codes. The vector values are KEGG compound codes prefixed with "cpd:", and the element names are the matched compound names.

Examples

## Not run: 
convert_hmdb_to_kegg(c("HMDB0000122"))

## End(Not run)

specmine documentation built on Aug. 5, 2026, 5:06 p.m.