Mercurial > repos > iuc > rpy_statistics_collection
comparison scatterplot.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>of two numeric columns</description> | 2 <description>of two 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">scatterplot.py $input $out_file1 $col1 $col2 "$title" "$xlab" "$ylab"</command> | 7 <command interpreter="python"> |
| 8 <inputs> | 8 <![CDATA[ |
| 9 <param name="input" type="data" format="tabular" label="Dataset" help="Dataset missing? See TIP below"/> | 9 scatterplot.py $input $out_file1 $col1 $col2 "$title" "$xlab" "$ylab" |
| 10 <param name="col1" type="data_column" data_ref="input" numerical="True" label="Numerical column for x axis" /> | 10 ]]> |
| 11 <param name="col2" type="data_column" data_ref="input" numerical="True" label="Numerical column for y axis" /> | 11 </command> |
| 12 <param name="title" size="30" type="text" value="Scatterplot" label="Plot title"/> | 12 <inputs> |
| 13 <param name="xlab" size="30" type="text" value="V1" label="Label for x axis"/> | 13 <param name="input" type="data" format="tabular" label="Dataset" help="Dataset missing? See TIP below"/> |
| 14 <param name="ylab" size="30" type="text" value="V2" label="Label for y axis"/> | 14 <param name="col1" type="data_column" data_ref="input" numerical="True" label="Numerical column for x axis" /> |
| 15 </inputs> | 15 <param name="col2" type="data_column" data_ref="input" numerical="True" label="Numerical column for y axis" /> |
| 16 <outputs> | 16 <param name="title" size="30" type="text" value="Scatterplot" label="Plot title"/> |
| 17 <data format="pdf" name="out_file1" /> | 17 <param name="xlab" size="30" type="text" value="V1" label="Label for x axis"/> |
| 18 </outputs> | 18 <param name="ylab" size="30" type="text" value="V2" label="Label for y axis"/> |
| 19 | 19 </inputs> |
| 20 <tests> | 20 <outputs> |
| 21 <test> | 21 <data format="pdf" name="out_file1" /> |
| 22 <param name="input" value="scatterplot_in1.tabular" ftype="tabular"/> | 22 </outputs> |
| 23 <param name="col1" value="2"/> | 23 <tests> |
| 24 <param name="col2" value="3"/> | 24 <test> |
| 25 <param name="title" value="Scatterplot"/> | 25 <param name="input" value="scatterplot_in1.tabular" ftype="tabular"/> |
| 26 <param name="xlab" value="V1"/> | 26 <param name="col1" value="2"/> |
| 27 <param name="ylab" value="V2"/> | 27 <param name="col2" value="3"/> |
| 28 <output name="out_file1" file="scatterplot_out1.pdf" /> | 28 <param name="title" value="Scatterplot"/> |
| 29 </test> | 29 <param name="xlab" value="V1"/> |
| 30 <param name="ylab" value="V2"/> | |
| 31 <output name="out_file1" file="scatterplot_out1.pdf" /> | |
| 32 </test> | |
| 30 </tests> | 33 </tests> |
| 31 <help> | 34 <help> |
| 35 <![CDATA[ | |
| 32 | 36 |
| 33 .. class:: infomark | 37 .. class:: infomark |
| 34 | 38 |
| 35 **TIP:** If your data is not TAB delimited, use *Text Manipulation->Convert* | 39 **TIP:** If your data is not TAB delimited, use *Text Manipulation->Convert* |
| 36 | 40 |
| 37 ----- | 41 ----- |
| 38 | 42 |
| 39 **Syntax** | 43 **Syntax** |
| 40 | 44 |
| 41 This tool creates a simple scatter plot between two variables containing numeric values of a selected dataset. | 45 This tool creates a simple scatter plot between two variables containing numeric values of a selected dataset. |
| 42 | 46 |
| 43 - All invalid, blank and comment lines in the dataset are skipped. The number of skipped lines is displayed in the resulting history item. | 47 - All invalid, blank and comment lines in the dataset are skipped. The number of skipped lines is displayed in the resulting history item. |
| 44 | 48 |
| 45 - **Plot title** The scatterplot title | 49 - **Plot title** The scatterplot title |
| 46 - **Label for x axis** and **Label for y axis** The labels for x and y axis of the scatterplot. | 50 - **Label for x axis** and **Label for y axis** The labels for x and y axis of the scatterplot. |
| 58 5 58 3.2 | 62 5 58 3.2 |
| 59 6 60 3.1 | 63 6 60 3.1 |
| 60 7 67 3.8 | 64 7 67 3.8 |
| 61 8 68 4.1 | 65 8 68 4.1 |
| 62 9 71 4.3 | 66 9 71 4.3 |
| 63 10 69 3.7 | 67 10 69 3.7 |
| 64 | 68 |
| 65 - Create a simple scatterplot between the variables in column 2 and column 3 of the above dataset. | 69 - Create a simple scatterplot between the variables in column 2 and column 3 of the above dataset. |
| 66 | 70 |
| 67 .. image:: $PATH_TO_IMAGES/images/scatterplot.png | 71 .. image:: $PATH_TO_IMAGES/images/scatterplot.png |
| 68 | 72 |
| 69 </help> | 73 ]]> |
| 74 </help> | |
| 70 </tool> | 75 </tool> |
