Mercurial > repos > ppericard > viscorvar
comparison mixomics_blocksplsda.R @ 5:88c1fd2ac110 draft default tip
"planemo upload for repository https://gitlab.com/bilille/galaxy-viscorvar commit 21d09ff286a496ff475f32626d88dd42423ae663"
author | ppericard |
---|---|
date | Tue, 07 Sep 2021 10:40:08 +0000 |
parents | c8533e9298e5 |
children |
comparison
equal
deleted
inserted
replaced
4:d4e9f7546dfa | 5:88c1fd2ac110 |
---|---|
20 parser$add_argument('--ncomp', dest='ncomp', type='integer', default=2, | 20 parser$add_argument('--ncomp', dest='ncomp', type='integer', default=2, |
21 help="Number of components to include in the model") | 21 help="Number of components to include in the model") |
22 parser$add_argument('--correlation', dest='correlation', action="store_true", | 22 parser$add_argument('--correlation', dest='correlation', action="store_true", |
23 help="Add correlation between all blocks") | 23 help="Add correlation between all blocks") |
24 parser$add_argument('--scheme', dest='scheme', default="horst", help="Scheme") | 24 parser$add_argument('--scheme', dest='scheme', default="horst", help="Scheme") |
25 parser$add_argument('--mode', dest='mode', default="regression", help="Mode") | |
26 parser$add_argument('--maxiter', dest='maxiter', type='integer', default=100, | 25 parser$add_argument('--maxiter', dest='maxiter', type='integer', default=100, |
27 help="Maximum number of iterations") | 26 help="Maximum number of iterations") |
28 parser$add_argument('--scale', dest='scale', action="store_true", | 27 parser$add_argument('--scale', dest='scale', action="store_true", |
29 help="Each block is standardized to zero means and unit variances") | 28 help="Each block is standardized to zero means and unit variances") |
30 parser$add_argument('--check_missing_values', dest='check_missing_values', action="store_true", | 29 parser$add_argument('--check_missing_values', dest='check_missing_values', action="store_true", |
52 print(args$ncomp) | 51 print(args$ncomp) |
53 print("Compute correlation between all blocks:") | 52 print("Compute correlation between all blocks:") |
54 print(args$correlation) | 53 print(args$correlation) |
55 print("Scheme:") | 54 print("Scheme:") |
56 print(args$scheme) | 55 print(args$scheme) |
57 print("Mode:") | |
58 print(args$mode) | |
59 print("Max nb of iterations:") | 56 print("Max nb of iterations:") |
60 print(args$maxiter) | 57 print(args$maxiter) |
61 print("Scale:") | 58 print("Scale:") |
62 print(args$scale) | 59 print(args$scale) |
63 print("Check for missing values:") | 60 print("Check for missing values:") |
163 Y = Y, | 160 Y = Y, |
164 ncomp = args$ncomp, | 161 ncomp = args$ncomp, |
165 keepX = keepX, | 162 keepX = keepX, |
166 design = design, | 163 design = design, |
167 scheme = args$scheme, | 164 scheme = args$scheme, |
168 mode = args$mode, | |
169 scale = args$scale, | 165 scale = args$scale, |
170 init = args$init, | 166 init = args$init, |
171 tol = args$tol, | 167 tol = args$tol, |
172 max.iter = args$maxiter, | 168 max.iter = args$maxiter, |
173 near.zero.var = args$nearzerovar, | 169 near.zero.var = args$nearzerovar, |