mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fixes to various tools: scatterplot, cor, grouping
This commit is contained in:
@@ -2,12 +2,16 @@
|
||||
<description>of two numeric columns</description>
|
||||
<command interpreter="python">scatterplot.py $input $out_file1 $col1 $col2 "$title" "$xlab" "$ylab"</command>
|
||||
<inputs>
|
||||
<param format="text" name="input" type="data" label="Dataset" help="Query missing? See TIP below"/>
|
||||
<param name="col1" size="4" type="integer" value="5" label="Column for x axis"/>
|
||||
<param name="col2" size="4" type="integer" value="6" label="Column for y axis"/>
|
||||
<param name="title" size="30" type="text" value="Scatterplot" label="Plot title"/>
|
||||
<param name="xlab" size="30" type="text" value="V1" label="Label for x axis"/>
|
||||
<param name="ylab" size="30" type="text" value="V2" label="Label for y axis"/>
|
||||
<page>
|
||||
<param name="input" format="tabular" type="data" label="Dataset" help="Query missing? See TIP below"/>
|
||||
</page>
|
||||
<page>
|
||||
<param name="col1" type="select" label="Column for x axis" dynamic_options="get_columns( input )" />
|
||||
<param name="col2" type="select" label="Column for y axis" dynamic_options="get_columns( input )" />
|
||||
<param name="title" size="30" type="text" value="Scatterplot" label="Plot title"/>
|
||||
<param name="xlab" size="30" type="text" value="V1" label="Label for x axis"/>
|
||||
<param name="ylab" size="30" type="text" value="V2" label="Label for y axis"/>
|
||||
</page>
|
||||
</inputs>
|
||||
<outputs>
|
||||
<data format="pdf" name="out_file1" />
|
||||
@@ -22,9 +26,10 @@
|
||||
|
||||
**Syntax**
|
||||
|
||||
A scatter plot reveals relationships or association between two variables. This tool creates a simple scatterplot between two variables of a selected Query.
|
||||
This tool creates a simple scatter plot between two variables containing numeric values of a selected query.
|
||||
|
||||
- All invalid, blank and comment lines in the query are skipped. The number of skipped lines is displayed in the resulting history item.
|
||||
|
||||
- **Column for x axis** and **Column for x axis** columns are referenced with a number, it start with 1.
|
||||
- **Plot title** The scatterplot title
|
||||
- **Label for x axis** and **Label for y axis** The labels for x and y axis of the scatterplot.
|
||||
|
||||
@@ -50,4 +55,5 @@ A scatter plot reveals relationships or association between two variables. This
|
||||
.. image:: ../static/images/scatterplot.png
|
||||
|
||||
</help>
|
||||
<code file="scatterplot_code.py" />
|
||||
</tool>
|
||||
|
||||
Reference in New Issue
Block a user