changeset 4:25c690797274 draft

Uploaded
author moheydarian
date Sun, 12 Mar 2017 19:27:48 -0400
parents 6131fe8dc7e8
children 097e19ec0150
files ggplot_histogram.xml
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ggplot_histogram.xml	Wed Feb 22 22:31:45 2017 -0500
+++ b/ggplot_histogram.xml	Sun Mar 12 19:27:48 2017 -0400
@@ -8,7 +8,10 @@
         <exit_code range="1:" />
     </stdio>
     <command><![CDATA[
-        Rscript ${__tool_directory__}/ggplotscripthistogram.R --input "$input1" --title "$title" --xlab "$xlab" --ylab "$ylab" --transform "$transformation.transform" --scaling "$scaling.Plot_scaling" --colorscheme "$coloring.colorscheme" --dim "$dimensions.plotdim" --facet "$group.facet" --size "$size" --binwidth "$binwidth" --output "Rplot.pdf"
+        Rscript ${__tool_directory__}/ggplotscripthistogram.R --input "$input1" --title "$title" 
+        --xlab "$xlab" --ylab "$ylab" --transform "$transformation.transform" --scaling "$scaling.Plot_scaling" 
+        --colorscheme "$coloring.colorscheme" --dim "$dimensions.plotdim" --facet "$group.facet" 
+        --size "$size" --binwidth "$binwidth" --legend "$legend" --output "Rplot.pdf"
         #if str( $coloring.colorscheme ) == "Defined":
             --colors ${coloring.colors}
             --colororder ${coloring.colororder}
@@ -139,6 +142,12 @@
                 <param name="houtputdim" size="4" type="float" value="7" label="height of output (inches)" />
             </when>
         </conditional>
+        <conditional name="legend">
+            <param name="legend" type="select" label="Legend options">
+              <option value="TRUE">Include legend on plot</option>
+              <option value="FALSE">Hide legend</option>
+            </param>
+        </conditional>
     </inputs>
     <outputs>
         <!-- <data name="output1" format="png" from_work_dir="Rplot.png"/> -->