HmdbEntry: Constructor for HmdbEntry instance

Description Usage Arguments Value Note Examples

Description

Constructor for HmdbEntry instance

Usage

1
2
3
4
5
HmdbEntry(
  prefix = "http://www.hmdb.ca/metabolites/",
  id = "HMDB0000001",
  keepFull = TRUE
)

Arguments

prefix

character(1) URL of HMDB source accepting queries for XML documents

id

character(1) HMDB identifier tag

keepFull

logical(1) indicating that entire parsed XML will be retained

Value

instance of HmdbEntry, or a list

Note

The XML returned by hmdb.ca can have different structures for different metabolites. If the mapping form XML to list is not as anticipated for a given metabolite, the xmlToList result is returned with a warning. Such entries should be reported to the hmdbQuery maintainer for map revision.

Examples

1

hmdbQuery documentation built on Feb. 17, 2021, 2:01 a.m.