annotate withinvariation-26603602a823/mixomics_multilevel.xml @ 0:5086ad0c0992 draft default tip

Uploaded v0.4
author yguitton
date Fri, 05 May 2017 05:04:36 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
1 <tool id="mixomics_multilevel" name="Multilevel" version="0.5.0">
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
2
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
3 <description>Data transformation: Within matrix decomposition for repeated measurements (cross-over design) with mixOmics package</description>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
4
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
5 <requirements>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
6 <requirement type="package" version="6.1.1">r-mixomics</requirement>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
7 <requirement type="package" version="1.1_4">r-batch</requirement>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
8 <requirement type="package" version="1.64.0">bioconductor-pcamethods</requirement>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
9 </requirements>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
10
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
11 <stdio>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
12 <exit_code range="1:" level="fatal" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
13 </stdio>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
14
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
15
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
16 <command>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
17 Rscript $__tool_directory__/mixomics_multilevel.r
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
18
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
19 dataMatrix_in "$dataMatrix_in"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
20 sampleMetadata_in "$sampleMetadata_in"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
21 repmeasure "$repmeasure"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
22 #if $transformation.option_transformation == "false"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
23 transfo "none"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
24 #end if
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
25 #if $nblevel.option_level == "onelevel"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
26 respL "$nblevel.respL"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
27 respL2 "NULL"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
28 #end if
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
29 #if $nblevel.option_level == "twolevel"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
30 respL1 "$nblevel.respL1"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
31 respL2 "$nblevel.respL2"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
32 #end if
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
33 #if $transformation.option_transformation == "true"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
34 transfo "go"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
35 trans "$transformation.trans"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
36 scale "$transformation.scale"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
37 center "$transformation.center"
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
38 #end if
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
39
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
40 </command>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
41 <inputs>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
42 <param name="dataMatrix_in" label="Data matrix file" type="data" format="tabular" help="variable x sample, decimal: '.', missing: NA, mode: numerical, sep: tabular" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
43 <param name="sampleMetadata_in" label="Sample metadata file" type="data" format="tabular" help="sample x metadata, decimal: '.', missing: NA, mode: character and numerical, sep: tabular" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
44 <param name="repmeasure" label="Repeated mesurement label (Individual IDs, ...)" type="text" value="none" help="Indicate the column name of the sample table to be used as repeated mesurement factor" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
45
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
46
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
47 <conditional name="nblevel">
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
48 <param name="option_level" type="select" label="Select number of levels1">
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
49 <option value="onelevel" selected="True">One Level</option>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
50 <option value="twolevel">Two levels</option>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
51 </param>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
52 <when value="onelevel">
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
53 <param name="respL" label="Level name (as in sampleMetadata)" type="text" value = "none" help="Indicate the column name of the sample table to be used as factor" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
54 </when>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
55 <when value="twolevel">
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
56 <param name="respL1" label="First level name (as in sampleMetadata)" type="text" value = "none" help="Indicate the column name of the sample table to be used as first factor" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
57 <param name="respL2" label="Second level name (as in sampleMetadata)" type="text" value = "none" help="Indicate the column name of the sample table to be used as second factor" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
58 </when>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
59 </conditional>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
60 <conditional name="transformation">
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
61 <param name="option_transformation" type="boolean" label="Add transformation to dataMatrix before withinVariation" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
62 <when value="false">
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
63 </when>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
64 <when value="true">
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
65 <param name="trans" label="Transformation" type="select" help="" >
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
66 <option value="none">none</option>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
67 <option value="log2">log2</option>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
68 <option value="log10">log10</option>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
69 <option value="sqrt">square root</option>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
70 </param>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
71 <param name="scale" label="Scaling" type="select" help="" >
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
72 <option value="none">none</option>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
73 <option value="pareto">pareto</option>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
74 <option value="vector">vector</option>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
75 <option value="uv">UV</option>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
76 </param>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
77 <param name="center" label="Centering" type="boolean" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
78 </when>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
79 </conditional>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
80
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
81
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
82 </inputs>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
83
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
84 <outputs>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
85 <data name="dataMatrix_out" format="tabular" from_work_dir="dataMatrix_out.tsv" label="dataMatrix_out.tsv" ></data>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
86 <data name="multilevelRData" format="rdata" from_work_dir="multilevel.RData" label="multilevel.RData" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
87 <data name="log" format="txt" from_work_dir="multilevel.log" label="multilevel.log.txt" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
88 </outputs>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
89
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
90 <tests>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
91 <test>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
92 <param name="dataMatrix_in" value="dataMatrix.csv" ftype="tabular" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
93 <param name="sampleMetadata_in" value="sampleMetadata.csv" ftype="tabular" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
94 <param name="repmeasure" value="Subject" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
95 <param name="nblevel|option_level" value="onelevel" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
96 <param name="respL" value="Occasion" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
97 <output name="dataMatrix_out" file="dataMatrix_out.tsv" lines_diff="2" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
98 </test>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
99 <test>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
100 <param name="dataMatrix_in" value="dataMatrix.csv" ftype="tabular" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
101 <param name="sampleMetadata_in" value="sampleMetadata.csv" ftype="tabular" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
102 <param name="repmeasure" value="Subject" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
103 <param name="nblevel|option_level" value="onelevel" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
104 <param name="respL" value="Occasion" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
105 <param name="transformation|option_transformation" value="true" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
106 <param name="transfo" value="go" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
107 <param name="trans" value="log10" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
108 <param name="scale" value="pareto" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
109 <param name="center" value="false" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
110 <output name="dataMatrix_out" file="dataMatrix_out_log10.tsv" lines_diff="2" />
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
111 </test>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
112
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
113 </tests>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
114
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
115
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
116 <help>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
117
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
118 .. class:: infomark
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
119
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
120 **Author(s)** Benoit Liquet, Kim-Anh Le Cao, Benoit Gautier, Ignacio Gonzalez.
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
121
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
122 .. class:: infomark
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
123
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
124 **Galaxy wrapper and scripts developpers for W4M integration** Guitton Yann LABERCA yann.guitton@oniris-nantes.fr
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
125
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
126 ===========
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
127 Description
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
128 ===========
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
129
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
130 withinVariation function decomposes the Within variation in the dataMatrix (One or two-factor analyses are available). The resulting matrix is then input in any multivariate analyses.
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
131
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
132 withinVariation simply returns the Xw within matrix, which can be input in the other multivariate approaches already implemented in mixOmics
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
133
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
134
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
135 That tool make use of withinVariation function for cross-over design experiment (Repeated mesurement) from mixOmics R package packurl_
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
136
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
137 .. _packurl: https://CRAN.R-project.org/package=mixOmics
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
138
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
139 For details information about mixOmics please connect to link_
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
140
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
141 .. _link: http://mixomics.org/
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
142
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
143 **Please cite:**
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
144 Kim-Anh Le Cao, Florian Rohart, Ignacio Gonzalez, Sebastien Dejean with key contributors Benoit Gautier, Francois Bartolo,
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
145 contributions from Pierre Monget, Jeff Coquery, FangZou Yao and Benoit Liquet(2016).
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
146 mixOmics: Omics Data Integration Project. R package version 6.1.1.
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
147
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
148 </help>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
149
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
150 <citations>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
151 <citation type="doi">10.1186/1471-2105-13-325</citation>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
152 <citation type="doi">10.1007/s11306-009-0185-z</citation>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
153 <citation type="doi">10.1093/bioinformatics/btu813</citation>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
154 </citations>
5086ad0c0992 Uploaded v0.4
yguitton
parents:
diff changeset
155 </tool>