comparison vennerable/unused/Vennerable.xml_backup_png @ 0:77bbf955e8de default tip

initial commit
author eric
date Thu, 06 Nov 2014 15:07:54 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:77bbf955e8de
1 <tool id="Vennerable" name="Vennerable" version="0.9" >
2 <description>: Plot data in Venn or Venn-like diagrams</description>
3 <command>
4 #if $opt.userSpecified == "Yes"
5 R --slave --vanilla --file=$GALAXY_ROOT_DIR/tools/WURtools/R_tools/Vennerable.R
6 --args $inputFile
7 default
8 $weighting
9 $outputFile
10 $plottype
11 $resolution
12 2&gt;$Vennerable_log
13 1&gt;&gt;$Vennerable_log
14 #else
15 R --slave --vanilla --file=$GALAXY_ROOT_DIR/tools/WURtools/R_tools/Vennerable.R
16 --args $inputFile
17 "$opt.xNames"
18 $weighting
19 $outputFile
20 $plottype
21 $resolution
22 2&gt;$Vennerable_log
23 1&gt;&gt;$Vennerable_log
24 #end if
25 </command>
26 <inputs>
27 <param name="inputFile" format="tabular" type="data" label="Data set" />
28 <conditional name="opt">
29 <param name="userSpecified" type="select" label="Use column headers as dataset names?">
30 <option value="Yes">Yes</option>
31 <option value="No">No</option>
32 </param>
33 <when value="Yes">
34 </when>
35 <when value="No">
36 <param name="xNames" type="text" label="Alternative data names" value="A,B,C,D" help="(comma-separated)"/>
37 </when>
38 </conditional>
39 <param name="plottype" type="select" label="Plot type to use" help="some other options might get disabled for certain plottypes" >
40 <option value="AWFE" selected="True">AWFE: Edwards-Venn (Non-weighted)</option>
41 <option value="ChowRuskey">Chow-Ruskey (always weigthed)</option>
42 <option value="ellipses">Ellipses (4 datasets only and always non-weighted)</option>
43 <option value="circles">Circles (max 3 datasets)</option>
44 <option value="squares">Squares (max 4 datasets non-weighted)</option>
45 </param>
46 <param name="weighting" type="select" label="Use weighting for data in plot" >
47 <option value="FALSE" selected="True">Non-weighted</option>
48 <option value="TRUE">Weighted</option>
49 </param>
50 <param name="resolution" type="integer" label="Resolution to use (dpi)" value="150" help="Plot features can be sized with this setting. Lower (50) is larger text." />
51 </inputs>
52 <outputs>
53 <data name="outputFile" format="png" label="Venn diagram of ${inputFile.name}"/>
54 <data name="Vennerable_log" format="tabular" label="Vennerable output and error log file" />
55 </outputs>
56 <tests>
57 <test>
58 </test>
59 </tests>
60 <requirements>
61 <requirement type="binary">R</requirement>
62 </requirements>
63 <help>
64 |
65
66
67 **What it does**
68
69 Vennerable V2.0 (09-10-2009)
70
71 This tool will use the Vennerable R package to plot data as weighted or un-weighted diagrams such as Venn, Edwards-Venn and Chow-Rusky.
72
73 The tool can take 2 to 7 collumns of data but more are adviced not to be used (for speed and clarity).
74
75 -----
76
77 **Input**
78
79 It takes a tabular file containing identifiers. Matches will be calculated automatically.
80
81 Be sure to specify headers if you haven't any in your dataset! Otherwise the top row of data will be excluded.
82
83 ::
84
85 DataA DataB DataC DataD
86 HUM1 AGK2 AGK2 RTT3
87 AGK2 ZZE3 ERT3 ZPD3
88 ZPD3 AAW3 RTT3 WER2
89 WER2 HUM1 RRW4 DUM1
90
91 -----
92
93 **Example**
94
95 .. image:: ../static/images/WURtools/VennerablePlot.png
96
97 -----
98
99 **References**
100
101 - alex.bossers@wur.nl
102 - Vennerable R package: http://r-forge.r-project.org/projects/vennerable/
103
104 -----
105
106 .. class:: infomark
107
108 **TIP:** If your data is not TAB delimited, use *Text Manipulation-&gt;Convert*
109
110
111 </help>
112 </tool>