annotate histogram2.xml @ 2:6f134426c2b0 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
author devteam
date Mon, 27 Jul 2020 03:25:53 -0400
parents cdb9e89e2970
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
1 <tool id="histogram_rpy" name="Histogram" version="1.0.4">
0
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
2 <description>of a numeric column</description>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
3 <requirements>
2
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
4 <requirement type="package" version="3.3.2">rpy2</requirement>
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
5 <requirement type="package" version="3.6.0">R</requirement>
0
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
6 </requirements>
2
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
7 <command>
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
8 python '$__tool_directory__/histogram.py'
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
9 '$input'
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
10 '$out_file1'
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
11 $numerical_column
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
12 '$title'
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
13 '$xlab'
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
14 $breaks
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
15 $density
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
16 $frequency
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
17 </command>
0
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
18 <inputs>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
19 <param name="input" type="data" format="tabular" label="Dataset" help="Dataset missing? See TIP below"/>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
20 <param name="numerical_column" type="data_column" data_ref="input" numerical="True" label="Numerical column for x axis" />
1
cdb9e89e2970 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 0
diff changeset
21 <param name="breaks" type="integer" value="0" label="Number of breaks (bars)"/>
cdb9e89e2970 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 0
diff changeset
22 <param name="title" type="text" value="Histogram" label="Plot title"/>
cdb9e89e2970 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 0
diff changeset
23 <param name="xlab" type="text" value="V1" label="Label for x axis"/>
0
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
24 <param name="density" type="boolean" checked="yes" label="Include smoothed density"/>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
25 <param name="frequency" type="boolean" checked="no" label="Plot as frequency (counts)"/>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
26 </inputs>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
27 <outputs>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
28 <data format="pdf" name="out_file1" />
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
29 </outputs>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
30 <tests>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
31 <test>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
32 <param name="input" value="histogram_in1.tabular" ftype="tabular"/>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
33 <param name="numerical_column" value="2"/>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
34 <param name="breaks" value="0"/>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
35 <param name="title" value="Histogram"/>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
36 <param name="xlab" value="V1"/>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
37 <param name="density" value="true"/>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
38 <param name="frequency" value="false"/>
2
6f134426c2b0 "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/histogram commit 5666c97386c843c109e45acce462243392285b84"
devteam
parents: 1
diff changeset
39 <output name="out_file1" file="histogram_out1.pdf" compare="sim_size"/>
0
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
40 </test>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
41 </tests>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
42 <help>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
43
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
44 .. class:: infomark
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
45
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
46 **TIP:** To remove comment lines that do not begin with a *#* character, use *Text Manipulation-&gt;Remove beginning*
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
47
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
48 .. class:: infomark
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
49
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
50 **TIP:** If your data is not TAB delimited, use *Text Manipulation-&gt;Convert*
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
51
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
52 -----
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
53
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
54 **Syntax**
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
55
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
56 This tool computes a histogram of the numerical values in a column of a dataset.
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
57
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
58 - All invalid, blank and comment lines in the dataset are skipped. The number of skipped lines is displayed in the resulting history item.
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
59 - **Column for x axis** - only numerical columns are possible.
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
60 - **Number of breaks(bars)** - breakpoints between histogram cells. Value of '0' will determine breaks automatically.
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
61 - **Plot title** - the histogram title.
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
62 - **Label for x axis** - the label of the x axis for the histogram.
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
63 - **Include smoothed density** - if checked, the resulting graph will join the given corresponding points with line segments.
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
64
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
65 -----
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
66
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
67 **Example**
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
68
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
69 - Input file::
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
70
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
71 1 68 4.1
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
72 2 71 4.6
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
73 3 62 3.8
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
74 4 75 4.4
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
75 5 58 3.2
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
76 6 60 3.1
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
77 7 67 3.8
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
78 8 68 4.1
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
79 9 71 4.3
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
80 10 69 3.7
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
81
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
82 - Create a histogram on column 2 of the above dataset.
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
83
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
84 .. image:: histogram2.png
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
85
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
86 </help>
6ff47de059a0 Imported from capsule None
devteam
parents:
diff changeset
87 </tool>