HmdbEntry: Constructor for HmdbEntry instance

HmdbEntryR Documentation

Constructor for HmdbEntry instance

Description

Constructor for HmdbEntry instance

Usage

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

HmdbEntry()

vjcitn/hmdbQuery documentation built on Nov. 3, 2022, 1:21 a.m.