powered by
Parses the METABOLIGHTS DB, returns data table with columns compoundname, description, charge, formula and structure (in SMILES)
build.METABOLIGHTS(outfolder, testMode = FALSE)
Which folder to save temp files to?
run in test mode? Only parses first ten compounds
data table with parsed database
download.file xmlToList pbapply rbindlist read_json
download.file
xmlToList
pbapply
rbindlist
read_json
# NOT RUN { build.METABOLIGHTS(outfolder=tempdir(), testMode=TRUE) # }
Run the code above in your browser using DataLab