Learn R Programming

specmine (version 4.0.0)

convert_hmdb_to_kegg: Get kegg codes from hmdb codes:

Description

Get kegg codes from hmdb codes:

Usage

convert_hmdb_to_kegg(hmdb_codes)

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.

Arguments

hmdb_codes

Character vector of HMDB identifiers.

Examples

Run this code
if (FALSE) {
convert_hmdb_to_kegg(c("HMDB0000122"))
}

Run the code above in your browser using DataLab