MetaboAnalystR 2.0 contains the R functions and libraries underlying the popular MetaboAnalyst web server.