1
|
1 <tool id="plotheatmap" name="plotHeatmap" version="1.0">
|
|
2 <description>Plot heatmap</description>
|
0
|
3 <stdio>
|
|
4 <exit_code range="1:" />
|
|
5 </stdio>
|
|
6 <command>
|
|
7 <![CDATA[
|
3
|
8 $__tool_directory__/tools/script.R $main.count_matrix $main.stats_matrix $main.log_fc $main.log_cpm $main.pvalue $main.fdr $heatmap.cluster_row $heatmap.cluster_col $heatmap.hclust_method $plotparm.col_marg $plotparm.row_marg $plotparm.pdf_width $plotparm.pdf_height > $rscript_log 2> $rerror_log
|
0
|
9
|
|
10 ]]>
|
|
11 </command>
|
|
12 <inputs>
|
3
|
13 <section name="main" title="Main parameters" expanded="True">
|
|
14 <param name="count_matrix" type="data" format="data" label=""/>
|
|
15 <param name="stats_matrix" type="data" format="data" label=""/>
|
|
16 <param name="log_fc" type="float" value="0.5" label=""/>
|
|
17 <param name="log_cpm" type="float" value="0.5" label=""/>
|
|
18 <param name="pvalue" type="float" value="0.5" label=""/>
|
|
19 <param name="fdr" type="float" value="0.5" label=""/>
|
|
20 </section>
|
|
21
|
|
22 <section name="heatmap" title="Heatmap parameters">
|
|
23 <param name="cluster_row" type="select" label="Determines if the row dendrogram should be reordered">
|
|
24 <option value="No" >No </option>
|
|
25 <option value="Yes" selected="true" >Yes </option>
|
|
26 </param>
|
|
27 <param name="cluster_col" type="select" label="Determines if the column dendrogram should be reordered">
|
|
28 <option value="No" selected="true">No </option>
|
|
29 <option value="Yes" >Yes </option>
|
|
30 </param>
|
|
31
|
|
32 <param name="hclust_method" type="select" label="Hierarchical clustering method">
|
|
33 <option value="ward.D" >ward.D </option>
|
|
34 <option value="ward.D2" >ward.D2 </option>
|
|
35 <option value="single" >single </option>
|
|
36 <option value="complete" >complete </option>
|
|
37 <option value="average" selected="true">average </option>
|
|
38 <option value="mcquitty" >mcquitty </option>
|
|
39 <option value="median" >median </option>
|
|
40 <option value="centroid" >centroid </option>
|
|
41 </param>
|
|
42 </section>
|
|
43
|
|
44
|
|
45 <section name="plotparm" title="Plot parameters">
|
|
46 <param name="col_marg" type="float" value="7" label="Margins or column names"/>
|
|
47 <param name="row_marg" type="float" value="8" label="Margins or row names"/>
|
|
48 <param name="pdf_width" type="float" value="7" label="Width of the graphics region in inches" />
|
|
49 <param name="pdf_height" type="float" value="7" label="Height of the graphics region in inches" />
|
|
50 </section>
|
|
51
|
|
52
|
0
|
53
|
|
54 </inputs>
|
|
55 <outputs>
|
|
56 <data format="pdf" name="haetamappdf" from_work_dir="heatmap.pdf" >
|
|
57 <filter>(outftype == 'pdf')</filter>
|
|
58 </data>
|
|
59 <data name="rscript_log" format="data" />
|
|
60 <data name="rerror_log" format="data" />
|
|
61 </outputs>
|
|
62 <tests>
|
|
63
|
|
64 <test>
|
|
65 <param name="count_matrix" value="count.matrix"/>
|
|
66 <param name="stats_matrix" value="stats.data"/>
|
|
67 <param name="log_fc" value="1"/>
|
|
68 <param name="log_cpm" value="2"/>
|
|
69 <param name="pvalue" value="0.05"/>
|
|
70 <param name="fdr" value="0.1"/>
|
|
71 <output name="haetamappdf" file="heatmap.pdf" ftype="pdf" compare="sim_size" />
|
|
72 <output name="rscript_log" file="rscript.log"/>
|
|
73 <output name="rerror_log" file="rerror.log"/>
|
|
74
|
|
75 </test>
|
|
76
|
|
77 </tests>
|
|
78 <help>
|
|
79 <![CDATA[
|
3
|
80
|
0
|
81 ]]>
|
|
82 </help>
|
|
83 <citations>
|
|
84 </citations>
|
|
85 </tool> |