R/loadMetabolicData.R

Defines functions loadMetabolicData

Documented in loadMetabolicData

loadMetabolicData <- function(path = Sys.getenv("HOME")) {
    path <- sprintf("%s/%s", path, ".mmnet")
    if (!exists(path)) {
        message(" Attempt to load default data.\nRecommand run updateKEGGPathway() to get the latest version of data."
                , domain = NA)
        data(RefDbcache)
    } else load(file = sprintf("%s/%s", path, "RefDbcache.rda"))
} 

Try the mmnet package in your browser

Any scripts or data that you put into this service are public.

mmnet documentation built on May 31, 2017, 3:25 p.m.