Title: | utilities for exploration of human metabolome database |
---|---|
Description: | Define utilities for exploration of human metabolome database, including functions to retrieve specific metabolite entries and data snapshots with pairwise associations (metabolite-gene,-protein,-disease). |
Authors: | Vince Carey <[email protected]> |
Maintainer: | VJ Carey <[email protected]> |
License: | Artistic-2.0 |
Version: | 1.27.0 |
Built: | 2024-11-29 06:27:00 UTC |
Source: | https://github.com/bioc/hmdbQuery |
extract biospecimen associations
## S4 method for signature 'HmdbEntry' biospecimens(x)
## S4 method for signature 'HmdbEntry' biospecimens(x)
x |
HmdbEntry instance |
character vector
data(hmdb1) biospecimens(hmdb1)
data(hmdb1) biospecimens(hmdb1)
extract disease associations
## S4 method for signature 'HmdbEntry' diseases(x)
## S4 method for signature 'HmdbEntry' diseases(x)
x |
HmdbEntry instance |
DataFrame
data(hmdb1) diseases(hmdb1)
data(hmdb1) diseases(hmdb1)
hmdb_disease: Sept 2017 extract from hmdb.ca of direct disease associations
hmdb_disease
hmdb_disease
S4Vectors DataFrame
This table also includes a column of metabolite name.
www.hmdb.ca xml
hmdb_gene: Sept 2017 extract from hmdb.ca of direct gene associations
hmdb_gene
hmdb_gene
S4Vectors DataFrame
www.hmdb.ca xml
hmdb_omim: Sept 2017 extract from hmdb.ca of direct omim associations
hmdb_omim
hmdb_omim
S4Vectors DataFrame
www.hmdb.ca xml
hmdb_protein: Sept 2017 extract from hmdb.ca of direct protein associations
hmdb_protein
hmdb_protein
S4Vectors DataFrame
www.hmdb.ca xml
hmdb1: demonstration HMDB entry
hmdb1
hmdb1
HmdbEntry instance
www.hmdb.ca
Constructor for HmdbEntry instance
HmdbEntry( prefix = "http://www.hmdb.ca/metabolites/", id = "HMDB0000001", keepFull = TRUE )
HmdbEntry( prefix = "http://www.hmdb.ca/metabolites/", id = "HMDB0000001", keepFull = TRUE )
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 |
instance of HmdbEntry, or a list
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.
HmdbEntry()
HmdbEntry()
basic container for an HMDB metabolite entry
metabolite
character(1) institutional name of metabolite
id
HMDB identifier
diseases
S4Vectors DataFrame instance listing associated diseases
biospecimens
S4Vectors DataFrame instance listing associated biospecimens
tissues
S4Vectors DataFrame instance listing associated tissues
store
contains parsed XML
Ontological tagging of diseases and other associated elements should be considered.
extract general association metadata in store slot
## S4 method for signature 'HmdbEntry' store(x)
## S4 method for signature 'HmdbEntry' store(x)
x |
HmdbEntry instance |
list
data(hmdb1) names(store(hmdb1))
data(hmdb1) names(store(hmdb1))
extract tissue associations
## S4 method for signature 'HmdbEntry' tissues(x)
## S4 method for signature 'HmdbEntry' tissues(x)
x |
HmdbEntry instance |
character vector
data(hmdb1) tissues(hmdb1)
data(hmdb1) tissues(hmdb1)