Mercurial > repos > ethevenot > transformation
annotate transformation_wrapper.R @ 3:cc0e9eff0de2 draft default tip
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
author | ethevenot |
---|---|
date | Wed, 28 Feb 2018 09:15:47 -0500 |
parents | 0ccfc3e15710 |
children |
rev | line source |
---|---|
1
d9e05021553c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit c4b65942d74d5bdfd46e748c0040a8b5ebe4fd1d
ethevenot
parents:
0
diff
changeset
|
1 #!/usr/bin/env Rscript |
0
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
2 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
3 library(batch) ## parseCommandArgs |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
4 |
3
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
5 # Constants |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
6 argv <- commandArgs(trailingOnly = FALSE) |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
7 script.path <- sub("--file=","",argv[grep("--file=",argv)]) |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
8 prog.name <- basename(script.path) |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
9 |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
10 # Print help |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
11 if (length(grep('-h', argv)) >0) { |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
12 cat("Usage:", prog.name, |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
13 "dataMatrix_in myDataMatrixInput.tsv", |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
14 "method log2|log10|sqrt", |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
15 "dataMatrix_out myDataMatrixOutput.tsv", |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
16 "information information.txt", |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
17 "\n") |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
18 quit(status = 0) |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
19 } |
cc0e9eff0de2
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 60ebb3e8919c09c18f89a5362750ae45ca84d0c2
ethevenot
parents:
2
diff
changeset
|
20 |
0
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
21 source_local <- function(fname){ |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
22 argv <- commandArgs(trailingOnly = FALSE) |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
23 base_dir <- dirname(substring(argv[grep("--file=", argv)], 8)) |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
24 source(paste(base_dir, fname, sep="/")) |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
25 } |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
26 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
27 source_local("transformation_script.R") |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
28 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
29 argVc <- unlist(parseCommandArgs(evaluate=FALSE)) |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
30 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
31 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
32 ##------------------------------ |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
33 ## Initializing |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
34 ##------------------------------ |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
35 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
36 ## options |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
37 ##-------- |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
38 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
39 strAsFacL <- options()[["stringsAsFactors"]] |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
40 options(stringsAsFactors=FALSE) |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
41 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
42 ## constants |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
43 ##---------- |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
44 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
45 modNamC <- "Transformation" ## module name |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
46 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
47 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
48 ## log file |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
49 ##--------- |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
50 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
51 sink(argVc[["information"]]) |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
52 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
53 cat("\nStart of the '", modNamC, "' module: ", |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
54 format(Sys.time(), "%a %d %b %Y %X"), "\n", sep="") |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
55 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
56 ## loading |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
57 ##-------- |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
58 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
59 datMN <- t(as.matrix(read.table(argVc[["dataMatrix_in"]], |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
60 check.names = FALSE, |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
61 header = TRUE, |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
62 row.names = 1, |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
63 sep = "\t"))) |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
64 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
65 metC <- argVc[["method"]] |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
66 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
67 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
68 ##------------------------------ |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
69 ## Computation |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
70 ##------------------------------ |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
71 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
72 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
73 datMN <- transformF(datMN = datMN, ## dataMatrix |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
74 metC = metC) ## transformation method |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
75 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
76 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
77 ##------------------------------ |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
78 ## Ending |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
79 ##------------------------------ |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
80 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
81 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
82 ## saving |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
83 ##------- |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
84 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
85 datDF <- cbind.data.frame(dataMatrix = colnames(datMN), |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
86 as.data.frame(t(datMN))) |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
87 write.table(datDF, |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
88 file = argVc[["dataMatrix_out"]], |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
89 quote = FALSE, |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
90 row.names = FALSE, |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
91 sep = "\t") |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
92 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
93 ## ending |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
94 ##------- |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
95 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
96 cat("\nEnd of the '", modNamC, "' Galaxy module call: ", |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
97 format(Sys.time(), "%a %d %b %Y %X"), "\n", sep = "") |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
98 |
2
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
99 cat("\n\n\n============================================================================") |
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
100 cat("\nAdditional information about the call:\n") |
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
101 cat("\n1) Parameters:\n") |
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
102 print(cbind(value = argVc)) |
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
103 |
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
104 cat("\n2) Session Info:\n") |
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
105 sessioninfo <- sessionInfo() |
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
106 cat(sessioninfo$R.version$version.string,"\n") |
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
107 cat("Main packages:\n") |
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
108 for (pkg in names(sessioninfo$otherPkgs)) { cat(paste(pkg,packageVersion(pkg)),"\t") }; cat("\n") |
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
109 cat("Other loaded packages:\n") |
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
110 for (pkg in names(sessioninfo$loadedOnly)) { cat(paste(pkg,packageVersion(pkg)),"\t") }; cat("\n") |
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
111 |
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
112 cat("============================================================================\n") |
0ccfc3e15710
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit b0373e2f4702a572450205419e2d64579c24c9ae
ethevenot
parents:
1
diff
changeset
|
113 |
0
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
114 sink() |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
115 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
116 options(stringsAsFactors = strAsFacL) |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
117 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
118 |
eacea1349a7c
planemo upload for repository https://github.com/workflow4metabolomics/transformation.git commit 83f2d1045c0bf086bbe2de5204cd5c1d8354116f
ethevenot
parents:
diff
changeset
|
119 rm(list = ls()) |