selectionMet {MetChem}R Documentation

Metabolites selection

Description

This function select metabolites from the list generated by readMet function.

Usage

selectionMet(doc, sel)

Arguments

doc

A list of metabolites information produced by readMet function.

sel

A vector of metabolite's HMDBcode that will be selected

Value

doc

A doc list contains only the selcted metabolites.

See Also

readMet, nameMet

Examples


data(Metabolites)
doc=selectionMet(Metabolites$readMet,c("HMDB0000299","HMDB0000881"))
nameMet(doc)

[Package MetChem version 0.4 Index]