changeset 11:fbe13b4a6018 draft

Uploaded
author moheydarian
date Tue, 14 Mar 2017 16:08:18 -0400
parents fe9d1a33f421
children c1cb330e162e
files heatmap2.xml
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/heatmap2.xml	Tue Mar 14 16:07:55 2017 -0400
+++ b/heatmap2.xml	Tue Mar 14 16:08:18 2017 -0400
@@ -1,4 +1,4 @@
-<tool id="heatmap2" name="heatmap2" version="0.0.1">
+<tool id="heatmap2" name="heatmap2" version="0.0.2">
     <requirements>
         <requirement type="package">r-getopt</requirement>
         <requirement type="package">r-rcolorbrewer</requirement>
@@ -9,7 +9,7 @@
     </stdio>
     <command><![CDATA[
         Rscript ${__tool_directory__}/heatmap2.R --input "$input1" --title "$title" 
-        --key "$key" 
+        --key "$key" --colorscheme "$coloring.colorscheme"
         --transform "$transformation.transform"
         --output "Rplot.pdf"
 
@@ -27,6 +27,12 @@
               <option value="log10plus1">Log10(value+1) transform my data</option>
             </param>
         </conditional>
+        <conditional name="coloring">
+            <param name="colorscheme" type="select" label="Coloring groups" >
+                <option value="Default" selected="True">White to red</option>
+                <option value="Defined">Blue to white to red</option>
+            </param>
+        </conditional>
     </inputs>
     <outputs>
         <!-- <data name="output1" format="png" from_work_dir="Rplot.png"/> -->