Mercurial > repos > iuc > rpy_statistics_collection
comparison cor.xml @ 1:2e7bc1bb2dbe draft default tip
Uploaded
| author | iuc |
|---|---|
| date | Fri, 09 Jan 2015 12:56:07 -0500 |
| parents | ffcdde989859 |
| children |
comparison
equal
deleted
inserted
replaced
| 0:ffcdde989859 | 1:2e7bc1bb2dbe |
|---|---|
| 2 <description>for numeric columns</description> | 2 <description>for numeric columns</description> |
| 3 <expand macro="requirements" /> | 3 <expand macro="requirements" /> |
| 4 <macros> | 4 <macros> |
| 5 <import>statistic_tools_macros.xml</import> | 5 <import>statistic_tools_macros.xml</import> |
| 6 </macros> | 6 </macros> |
| 7 <command interpreter="python">cor.py $input1 $out_file1 $numeric_columns $method</command> | 7 <command interpreter="python"> |
| 8 <![CDATA[ | |
| 9 cor.py | |
| 10 $input1 | |
| 11 $out_file1 | |
| 12 $numeric_columns | |
| 13 $method | |
| 14 ]]> | |
| 15 </command> | |
| 8 <inputs> | 16 <inputs> |
| 9 <param format="tabular" name="input1" type="data" label="Dataset" help="Dataset missing? See TIP below"/> | 17 <param format="tabular" name="input1" type="data" label="Dataset" help="Dataset missing? See TIP below"/> |
| 10 <param name="numeric_columns" label="Numerical columns" type="data_column" numerical="True" multiple="True" data_ref="input1" help="Multi-select list - hold the appropriate key while clicking to select multiple columns" /> | 18 <param name="numeric_columns" label="Numerical columns" type="data_column" numerical="True" multiple="True" data_ref="input1" help="Multi-select list - hold the appropriate key while clicking to select multiple columns" /> |
| 11 <param name="method" type="select" label="Method"> | 19 <param name="method" type="select" label="Method"> |
| 12 <option value="pearson">Pearson</option> | 20 <option value="pearson">Pearson</option> |
| 13 <option value="kendall">Kendall rank</option> | 21 <option value="kendall">Kendall rank</option> |
| 14 <option value="spearman">Spearman rank</option> | 22 <option value="spearman">Spearman rank</option> |
| 15 </param> | 23 </param> |
| 16 </inputs> | 24 </inputs> |
| 17 <outputs> | 25 <outputs> |
| 18 <data format="txt" name="out_file1" /> | 26 <data format="txt" name="out_file1" /> |
| 19 </outputs> | 27 </outputs> |
| 20 <tests> | 28 <tests> |
| 21 <!-- | 29 <!-- |
| 22 Test a tabular input with the first line being a comment without a # character to start | 30 Test a tabular input with the first line being a comment without a # character to start |
| 23 --> | 31 --> |
| 24 <test> | 32 <test> |
| 25 <param name="input1" value="cor.tabular" /> | 33 <param name="input1" value="cor.tabular" /> |
| 26 <param name="numeric_columns" value="2,3" /> | 34 <param name="numeric_columns" value="2,3" /> |
| 27 <param name="method" value="pearson" /> | 35 <param name="method" value="pearson" /> |
| 28 <output name="out_file1" file="cor_out.txt" /> | 36 <output name="out_file1" file="cor_out.txt" /> |
| 29 </test> | 37 </test> |
| 30 </tests> | 38 </tests> |
| 31 <help> | 39 <help> |
| 40 <![CDATA[ | |
| 32 | 41 |
| 33 .. class:: infomark | 42 .. class:: infomark |
| 34 | 43 |
| 35 **TIP:** If your data is not TAB delimited, use *Text Manipulation->Convert* | 44 **TIP:** If your data is not TAB delimited, use *Text Manipulation->Convert* |
| 36 | 45 |
| 37 .. class:: warningmark | 46 .. class:: warningmark |
| 38 | 47 |
| 39 Missing data ("nan") removed from each pairwise comparison | 48 Missing data ("nan") removed from each pairwise comparison |
| 40 | 49 |
| 96 | 105 |
| 97 1.0 0.730635686279 | 106 1.0 0.730635686279 |
| 98 0.730635686279 1.0 | 107 0.730635686279 1.0 |
| 99 | 108 |
| 100 So the correlation for our twenty cases is .73, which is a fairly strong positive relationship. | 109 So the correlation for our twenty cases is .73, which is a fairly strong positive relationship. |
| 101 </help> | 110 ]]> |
| 111 </help> | |
| 102 </tool> | 112 </tool> |
