Repository 'volcanoplot'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/volcanoplot

Changeset 7:a363ba287b88 (2024-05-15)
Previous changeset 6:83c573f2e73c (2021-06-10) Next changeset 8:2f557f6abbfb (2024-06-05)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 589795c240ea48accbb89cd0c3263f8eba301125
modified:
volcanoplot.xml
b
diff -r 83c573f2e73c -r a363ba287b88 volcanoplot.xml
--- a/volcanoplot.xml Thu Jun 10 08:38:12 2021 +0000
+++ b/volcanoplot.xml Wed May 15 10:06:58 2024 +0000
b
@@ -1,4 +1,4 @@
-<tool id="volcanoplot" name="Volcano Plot" version="0.0.5">
+<tool id="volcanoplot" name="Volcano Plot" version="0.0.6" profile="20.09">
     <description>create a volcano plot</description>
     <edam_topics>
         <edam_topic>topic_0092</edam_topic>
@@ -145,29 +145,29 @@
     #end if
 #end if
 
-#if not '$plot_options.title'
+#if $plot_options.title:
 p <- p + ggtitle('$plot_options.title')
 #end if
 
-#if not '$plot_options.xlab'
+#if $plot_options.xlab:
 p <- p + xlab('$plot_options.xlab')
 #end if
 
-#if not '$plot_options.ylab'
+#if $plot_options.ylab:
 p <- p + ylab('$plot_options.ylab')
 #end if
 
-#if not '$plot_options.xmin' and '$plot_options.xmax'
-p <- p + xlim('$plot_options.xmin', '$plot_options.xmax')
+#if $plot_options.xmin and $plot_options.xmax:
+p <- p + xlim($plot_options.xmin, $plot_options.xmax)
 #end if
 
-#if not '$plot_options.ymax'
-p <- p + ylim(0, '$plot_options.ymax')
+#if $plot_options.ymax:
+p <- p + ylim(0, $plot_options.ymax)
 #end if
 
 # Set legend title
-#if not '$plot_options.legend'
-p <- p + theme(legend.title = '$plot_options.legend')
+#if $plot_options.legend:
+p <- p + guides(color = guide_legend(title = '$plot_options.legend'))
 #else
 p <- p + theme(legend.title = element_blank())
 #end if
@@ -191,10 +191,10 @@
             <option value="yes">Yes</option>
             <option value="no">No</option>
         </param>
-        <param name="fdr_col" type="data_column" data_ref="input" label="FDR (adjusted P value)" />
-        <param name="pval_col" type="data_column" data_ref="input" label="P value (raw)" />
-        <param name="lfc_col" type="data_column" data_ref="input" label="Log Fold Change" />
-        <param name="label_col" type="data_column" data_ref="input" label="Labels" />
+        <param name="fdr_col" type="data_column" data_ref="input" label="FDR (adjusted P value) column number" />
+        <param name="pval_col" type="data_column" data_ref="input" label="P value (raw) column number" />
+        <param name="lfc_col" type="data_column" data_ref="input" label="Log Fold Change column number" />
+        <param name="label_col" type="data_column" data_ref="input" label="Labels column number" />
         <param name="signif_thresh" type="float" max="1" value="0.05" label="Significance threshold" help="Default: 0.05"/>
         <param name="lfc_thresh" type="float" value="0" label="LogFC threshold to colour" help="Default: 0"/>
         <conditional name="labels">
@@ -260,7 +260,7 @@
             <param name="label_file" ftype="tabular" value="labels.tab" />
             <output name="plot">
                 <assert_contents>
-                    <has_size value= "933832" delta="1000" />
+                    <has_size value= "933830" delta="1000" />
                 </assert_contents>
             </output>
         </test>
@@ -321,5 +321,6 @@
 
     ]]></help>
     <citations>
+        <citation type="doi">doi.org/10.1007/978-3-319-24277-4</citation>
     </citations>
-</tool>
\ No newline at end of file
+</tool>