annotate cca.xml @ 90:b061185bcb83 draft

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