Learn R Programming

MetChem (version 0.5)

readMet: Metabolite Cards Reading

Description

This function extract metabocards of your metabolites dataset from http://www.hmdb.ca/metabolites/ database and store all of this information in a list.

Usage

readMet(ID, address =  c("http://www.hmdb.ca/metabolites/"),remove=TRUE)

Value

A list containing all the information related to the metabocards.

Arguments

ID

A vector containg the HMDBcodes (i.e., metabolite IDs) of metabolites dataset.

address

Optional address where the MetaboCards are located. The default address is http://www.hmdb.ca/metabolites/.

remove

A logic value. If true, missing and wrong HMDB IDs are removed.

See Also

nameMet

Examples

Run this code
# \donttest{

ID=c("HMDB0000122","HMDB0000124","HMDB0000243","HMDB0000263")
doc=readMet(ID) 

# }

Run the code above in your browser using DataLab