Learn R Programming

specmine (version 3.1.6)

get_cpd_names: Get the names of the compounds that correspond to the kegg codes given.

Description

Gets the common name of the compounds of the kegg codes given.

Usage

get_cpd_names(kegg_codes)

Arguments

kegg_codes

Character vector with kegg codes.

Value

Named vector with the names of the compounds. The names of the vector are the compounds' names and the vector elements the kegg codes.

Examples

Run this code
# NOT RUN {
get_cpd_names(c("cpd:C00001", "cpd:C00008", "gl:G13099"))
# }

Run the code above in your browser using DataLab