Mercurial > repos > ethevenot > multivariate
annotate runit/multivariate_tests.R @ 4:5526f8258e8a draft default tip
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 0f382a5296aae9bfc77df06b0a5ad493eb3c01f3
author | ethevenot |
---|---|
date | Wed, 28 Feb 2018 09:59:25 -0500 |
parents | fa173e12e185 |
children |
rev | line source |
---|---|
2
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
1 test_input_pca <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
2 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
3 testDirC <- "input" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
4 argLs <- list(respC = "none", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
5 predI = "NA", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
6 orthoI = "0", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
7 testL = "FALSE") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
8 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
9 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
10 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
11 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
12 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
13 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
14 test_input_pcaGender <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
15 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
16 testDirC <- "input" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
17 argLs <- list(respC = "none", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
18 predI = "NA", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
19 orthoI = "0", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
20 testL = "FALSE", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
21 parMahalC = "gender") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
22 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
23 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
24 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
25 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
26 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
27 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
28 test_input_plsdaGender <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
29 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
30 testDirC <- "input" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
31 argLs <- list(respC = "gender", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
32 predI = "NA", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
33 orthoI = "0", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
34 testL = "FALSE") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
35 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
36 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
37 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
38 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
39 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
40 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
41 test_input_oplsAge <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
42 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
43 testDirC <- "input" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
44 argLs <- list(respC = "age", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
45 predI = "1", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
46 orthoI = "1", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
47 testL = "FALSE") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
48 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
49 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
50 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
51 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
52 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
53 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
54 test_input_oplsdaGender <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
55 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
56 testDirC <- "input" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
57 argLs <- list(respC = "gender", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
58 predI = "1", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
59 orthoI = "1", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
60 testL = "FALSE") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
61 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
62 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
63 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
64 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
65 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
66 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
67 test_sacurine_pca <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
68 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
69 testDirC <- "sacurine" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
70 argLs <- list(respC = "none", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
71 predI = "NA", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
72 orthoI = "0", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
73 testL = "FALSE") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
74 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
75 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
76 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
77 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
78 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
79 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
80 test_sacurine_pcaGender <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
81 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
82 testDirC <- "sacurine" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
83 argLs <- list(respC = "none", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
84 predI = "NA", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
85 orthoI = "0", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
86 testL = "FALSE", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
87 parMahalC = "gender") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
88 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
89 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
90 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
91 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
92 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
93 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
94 test_sacurine_plsAge <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
95 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
96 testDirC <- "sacurine" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
97 argLs <- list(respC = "age", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
98 predI = "NA", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
99 orthoI = "0", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
100 testL = "FALSE") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
101 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
102 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
103 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
104 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
105 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
106 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
107 test_sacurine_plsdaGender <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
108 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
109 testDirC <- "sacurine" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
110 argLs <- list(respC = "gender", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
111 predI = "NA", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
112 orthoI = "0", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
113 testL = "FALSE") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
114 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
115 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
116 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
117 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
118 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
119 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
120 test_sacurineTest_pls <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
121 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
122 testDirC <- "sacurineTest" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
123 argLs <- list(respC = "age", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
124 predI = "2", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
125 orthoI = "0", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
126 testL = "TRUE") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
127 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
128 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
129 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
130 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
131 checkEqualsNumeric(outLs[["samDF"]][181, "age_PLS_predictions"], 40.82252, tolerance = 1e-5) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
132 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
133 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
134 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
135 test_sacurineTest_opls <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
136 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
137 testDirC <- "sacurineTest" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
138 argLs <- list(respC = "age", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
139 predI = "1", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
140 orthoI = "2", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
141 testL = "TRUE") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
142 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
143 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
144 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
145 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
146 checkEqualsNumeric(outLs[["samDF"]][181, "age_OPLS_predictions"], 40.28963, tolerance = 1e-5) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
147 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
148 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
149 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
150 test_sacurineTest_plsda <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
151 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
152 testDirC <- "sacurineTest" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
153 argLs <- list(respC = "gender", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
154 predI = "2", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
155 orthoI = "0", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
156 testL = "TRUE") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
157 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
158 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
159 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
160 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
161 checkEquals(outLs[["samDF"]][181, "gender_PLSDA_predictions"], "F") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
162 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
163 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
164 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
165 test_sacurineTest_oplsda <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
166 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
167 testDirC <- "sacurineTest" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
168 argLs <- list(respC = "gender", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
169 predI = "1", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
170 orthoI = "1", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
171 testL = "TRUE") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
172 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
173 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
174 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
175 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
176 checkEquals(outLs[["samDF"]][181, "gender_OPLSDA_predictions"], "F") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
177 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
178 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
179 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
180 test_sacurine_oplsAge <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
181 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
182 testDirC <- "sacurine" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
183 argLs <- list(respC = "age", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
184 predI = "1", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
185 orthoI = "1", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
186 testL = "FALSE") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
187 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
188 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
189 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
190 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
191 checkEqualsNumeric(outLs[["varDF"]][1, "age_OPLS_VIP_ortho"], 0.3514378, tolerance = 1e-7) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
192 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
193 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
194 test_example1_plsda <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
195 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
196 testDirC <- "example1" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
197 argLs <- list(respC = "traitment", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
198 predI = "3", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
199 orthoI = "0", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
200 testL = "FALSE") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
201 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
202 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
203 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
204 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
205 } |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
206 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
207 test_example2_pca <- function() { |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
208 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
209 testDirC <- "example2" |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
210 argLs <- list(respC = "none", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
211 predI = "NA", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
212 orthoI = "0", |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
213 testL = "FALSE") |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
214 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
215 argLs <- c(defaultArgF(testDirC), argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
216 outLs <- wrapperCallF(argLs) |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
217 |
fa173e12e185
planemo upload for repository https://github.com/workflow4metabolomics/multivariate.git commit 9f4dfcdc64aa9ac2a2f6d613cc33961c02fec254-dirty
ethevenot
parents:
diff
changeset
|
218 } |