hmdb_table | R Documentation |
Download a HMDB XML file and process it into a table
hmdb_table(dataset = "metabolites", fields = NULL)
dataset |
Character: name of an HMDB XML dataset, such as "metabolites", "proteins", "urine", "serum", "csf", "saliva", "feces", "sweat". |
fields |
Character: fields to extract from the XML. This is a very
minimal parser that is able to extract the text content of simple fields
and multiple value fields which contain a list of leaves within one
container tag under the record tag. A full list of fields available in
HMDB is available by the |
A data frame (tibble) with each column corresponding to a field.
hmdb_protein_fields
hmdb_metabolite_fields
hmdb_table()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.