Learn R Programming

MetaDBparse (version 2.0.0)

build.METABOLIGHTS: Build METABOLIGHTS DB

Description

Parses the METABOLIGHTS DB, returns data table with columns compoundname, description, charge, formula and structure (in SMILES)

Usage

build.METABOLIGHTS(outfolder, testMode = FALSE)

Arguments

outfolder

Which folder to save temp files to?

testMode

run in test mode? Only parses first ten compounds

Value

data table with parsed database

See Also

download.file xmlToList pbapply rbindlist read_json

Examples

Run this code
# NOT RUN {
build.METABOLIGHTS(outfolder=tempdir(), testMode=TRUE)
# }

Run the code above in your browser using DataLab