annotate cca.xml @ 0:9bc0c48a027f draft default tip

Imported from capsule None
author devteam
date Mon, 19 May 2014 12:34:48 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
1 <tool id="cca1" name="Canonical Correlation Analysis" version="1.0.0">
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
2 <description> </description>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
3 <requirements>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
4 <requirement type="package" version="2.11.0">R</requirement>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
5 <requirement type="package" version="1.7.1">numpy</requirement>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
6 <requirement type="package" version="1.0">yacca</requirement>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
7 <requirement type="package" version="1.0.3">rpy</requirement>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
8 </requirements>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
9 <command interpreter="python">
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
10 cca.py
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
11 $input1
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
12 $x_cols
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
13 $y_cols
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
14 $x_scale
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
15 $y_scale
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
16 $std_scores
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
17 $out_file1
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
18 $out_file2
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
19 </command>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
20 <inputs>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
21 <param format="tabular" name="input1" type="data" label="Select data" help="Dataset missing? See TIP below."/>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
22 <param name="x_cols" label="Select columns containing X variables " type="data_column" data_ref="input1" numerical="True" multiple="true" >
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
23 <validator type="no_options" message="Please select at least one column."/>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
24 </param>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
25 <param name="y_cols" label="Select columns containing Y variables " type="data_column" data_ref="input1" numerical="True" multiple="true" >
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
26 <validator type="no_options" message="Please select at least one column."/>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
27 </param>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
28 <param name="x_scale" type="select" label="Type of Scaling for X variables" help="Can be used to center and/or scale variables">
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
29 <option value="none" selected="true">None</option>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
30 <option value="center">Center only</option>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
31 <option value="scale">Scale only</option>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
32 <option value="both">Center and Scale</option>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
33 </param>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
34 <param name="y_scale" type="select" label="Type of Scaling for Y variables" help="Can be used to center and/or scale variables">
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
35 <option value="none" selected="true">None</option>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
36 <option value="center">Center only</option>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
37 <option value="scale">Scale only</option>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
38 <option value="both">Center and Scale</option>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
39 </param>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
40 <param name="std_scores" type="select" label="Report standardized scores?" help="Selecting 'Yes' will rescale scores (and coefficients) to produce scores of unit variance">
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
41 <option value="no" selected="true">No</option>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
42 <option value="yes">Yes</option>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
43 </param>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
44 </inputs>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
45 <outputs>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
46 <data format="input" name="out_file1" metadata_source="input1" />
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
47 <data format="pdf" name="out_file2" />
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
48 </outputs>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
49 <tests>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
50 <test>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
51 <param name="input1" value="iris.tabular"/>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
52 <param name="x_cols" value="3,4"/>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
53 <param name="y_cols" value="1,2"/>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
54 <param name="x_scale" value="both"/>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
55 <param name="y_scale" value="scale"/>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
56 <param name="std_scores" value="yes"/>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
57 <output name="out_file1" file="cca_out1.tabular"/>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
58 <output name="out_file2" file="cca_out2.pdf"/>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
59 </test>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
60 </tests>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
61 <help>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
62
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
63
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
64 .. class:: infomark
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
65
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
66 **TIP:** If your data is not TAB delimited, use *Edit Datasets-&gt;Convert characters*
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
67
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
68 -----
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
69
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
70 .. class:: infomark
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
71
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
72 **What it does**
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
73
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
74 This tool uses functions from 'yacca' library from R statistical package to perform Canonical Correlation Analysis (CCA) on the input data. It outputs two files, one containing the summary statistics of the performed CCA, and the other containing helioplots, which display structural loadings of X and Y variables on different canonical components.
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
75
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
76 *Carter T. Butts (2009). yacca: Yet Another Canonical Correlation Analysis Package. R package version 1.1.*
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
77
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
78 -----
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
79
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
80 .. class:: warningmark
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
81
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
82 **Note**
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
83
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
84 - This tool currently treats all predictor and response variables as continuous numeric variables. Running the tool on categorical variables might result in incorrect results.
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
85
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
86 - Rows containing non-numeric (or missing) data in any of the chosen columns will be skipped from the analysis.
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
87
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
88 - The summary statistics in the output are described below:
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
89
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
90 - correlation: Canonical correlation between the canonical variates (i.e. transformed variables)
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
91 - F-statistic: F-value obtained from F Test for Canonical Correlations Using Rao's Approximation
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
92 - p-value: denotes significance of canonical correlations
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
93 - Coefficients: represent the coefficients of X and Y variables on each canonical variate
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
94 - Loadings: represent the correlations between the original variables in each set and their respective canonical variates
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
95 - CrossLoadings: represent the correlations between the original variables in each set and the opposite canonical variates
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
96
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
97 </help>
9bc0c48a027f Imported from capsule None
devteam
parents:
diff changeset
98 </tool>