Mercurial > repos > lecorguille > xcms_retcor
comparison xcms_retcor.r @ 15:950b97b679c6 draft
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit f0d42bca2f34c58c04b55e5990058d479c0ae639
| author | lecorguille |
|---|---|
| date | Mon, 11 Feb 2019 06:06:50 -0500 |
| parents | 8828cba9aedd |
| children | 62171c2b2834 |
comparison
equal
deleted
inserted
replaced
| 14:e95f0dcdea3b | 15:950b97b679c6 |
|---|---|
| 10 cat("\tSESSION INFO\n") | 10 cat("\tSESSION INFO\n") |
| 11 | 11 |
| 12 #Import the different functions | 12 #Import the different functions |
| 13 source_local <- function(fname){ argv <- commandArgs(trailingOnly=FALSE); base_dir <- dirname(substring(argv[grep("--file=", argv)], 8)); source(paste(base_dir, fname, sep="/")) } | 13 source_local <- function(fname){ argv <- commandArgs(trailingOnly=FALSE); base_dir <- dirname(substring(argv[grep("--file=", argv)], 8)); source(paste(base_dir, fname, sep="/")) } |
| 14 source_local("lib.r") | 14 source_local("lib.r") |
| 15 source_local("lib-xcms3.x.x.r") | |
| 16 | 15 |
| 17 pkgs <- c("xcms","batch","RColorBrewer") | 16 pkgs <- c("xcms","batch","RColorBrewer") |
| 18 loadAndDisplayPackages(pkgs) | 17 loadAndDisplayPackages(pkgs) |
| 19 cat("\n\n"); | 18 cat("\n\n"); |
| 20 | 19 |
