comparison plotheatmap.xml @ 5:4cdaf6059e84 draft default tip

planemo upload
author marpiech
date Wed, 01 Feb 2017 10:29:17 -0500
parents db5d126bf8d0
children
comparison
equal deleted inserted replaced
4:2fee8da6aabb 5:4cdaf6059e84
1 <tool id="plotheatmap" name="plotHeatmap" version="1.0"> 1 <tool id="plotheatmap" name="plotHeatmap" version="1.0">
2 <description>Plot heatmap</description> 2 <description>Plot heatmap</description>
3 <requirements>
4 <requirement type="package" version="3.0.1">r-gplots</requirement>
5 </requirements>
3 <stdio> 6 <stdio>
4 <exit_code range="1:" /> 7 <exit_code range="1:" />
5 </stdio> 8 </stdio>
6 <command> 9 <command>
7 <![CDATA[ 10 <![CDATA[
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 11 $__tool_directory__/tools/script.R $main.count_matrix $main.stats_matrix $filter.log_fc $filter.log_cpm $filter.pvalue $filter.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
9 12
10 ]]> 13 ]]>
11 </command> 14 </command>
12 <inputs> 15 <inputs>
13 <section name="main" title="Main parameters" expanded="True"> 16 <section name="main" title="Main parameters" expanded="True">
14 <param name="count_matrix" type="data" format="data" label=""/> 17 <param name="count_matrix" type="data" format="data" label="Output dataset 'count_matrix' from tool countMatrixForEdger"/>
15 <param name="stats_matrix" type="data" format="data" label=""/> 18 <param name="stats_matrix" type="data" format="data" label="Output dataset 'output' from tool edgeR"/>
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> 19 </section>
21 20 <section name="filter" title="Filtering parameters" expanded="True">
21 <param name="log_fc" type="float" value="0.5" label="A log FC threshold"/>
22 <param name="log_cpm" type="float" value="0.5" label="A log CPM threshold"/>
23 <param name="pvalue" type="float" value="0.5" label="A PValue threshold">
24 <validator type="in_range" min="0" max="1" />
25 </param>
26 <param name="fdr" type="float" value="0.5" label="A FDR threshold">
27 <validator type="in_range" min="0" max="1" />
28 </param>
29 </section>
22 <section name="heatmap" title="Heatmap parameters"> 30 <section name="heatmap" title="Heatmap parameters">
23 <param name="cluster_row" type="select" label="Determines if the row dendrogram should be reordered"> 31 <param name="cluster_row" type="select" label="Determines if the row dendrogram should be reordered">
24 <option value="No" >No </option> 32 <option value="No" >No </option>
25 <option value="Yes" selected="true" >Yes </option> 33 <option value="Yes" selected="true" >Yes </option>
26 </param> 34 </param>
41 </param> 49 </param>
42 </section> 50 </section>
43 51
44 52
45 <section name="plotparm" title="Plot parameters"> 53 <section name="plotparm" title="Plot parameters">
46 <param name="col_marg" type="float" value="7" label="Margins or column names"/> 54 <param name="col_marg" type="float" value="7" label="Margins for column names"/>
47 <param name="row_marg" type="float" value="8" label="Margins or row names"/> 55 <param name="row_marg" type="float" value="8" label="Margins for row names"/>
48 <param name="pdf_width" type="float" value="7" label="Width of the graphics region in inches" /> 56 <param name="pdf_width" type="float" value="7" label="Width of the graphics region in inches (pdf width)" />
49 <param name="pdf_height" type="float" value="7" label="Height of the graphics region in inches" /> 57 <param name="pdf_height" type="float" value="7" label="Height of the graphics region in inches (pdf height)" />
50 </section> 58 </section>
51
52
53 59
54 </inputs> 60 </inputs>
55 <outputs> 61 <outputs>
56 <data format="pdf" name="haetamappdf" from_work_dir="heatmap.pdf" > 62 <data format="pdf" name="haetamappdf" from_work_dir="heatmap.pdf" >
57 <filter>(outftype == 'pdf')</filter> 63 <filter>(outftype == 'pdf')</filter>
75 </test> 81 </test>
76 82
77 </tests> 83 </tests>
78 <help> 84 <help>
79 <![CDATA[ 85 <![CDATA[
80 86 **What it does**
87 It takes a list of genes basen on set filtering criteria and draws them on heatmap.
88 **Example**
89 The following filtering options:
90 A log FC threshold = 0.5
91 A log CPM threshold = 0.5
92 A PValue threshold = 0.05
93 A FDR threshold = 0.1
94 mean that you select genes whose values in output table from edgeR are:
95 * absolute value of logFC is greater than or equal 0.5
96 * logCPM is greater than or equal 0.5
97 * PValue is less than or equal to 0.05
98 * FDR is less than or equal to 0.1
81 ]]> 99 ]]>
82 </help> 100 </help>
83 <citations> 101 <citations>
84 </citations> 102 </citations>
85 </tool> 103 </tool>