Skip to contents

HMDB identifier type label

Usage

hmdb_id_type(label)

Arguments

label

Character: an ID type label, as shown in the table at translate_ids

Value

Character: the HMDB specific ID type label, or the input unchanged if it could not be translated (still might be a valid identifier name). These labels should be valid HMDB field names, as used in HMDB XML files.

Examples

hmdb_id_type("hmdb")
#> [1] "accession"
# [1] "accession"