comparison volcanoplot.xml @ 1:7b7303fa20e3 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit c2b155f1fd4470ddecb5bd1c6e2c54dd46bfeaed
author iuc
date Sat, 29 Dec 2018 13:21:24 -0500
parents 59ebf2c42c0e
children 6d532d760950
comparison
equal deleted inserted replaced
0:59ebf2c42c0e 1:7b7303fa20e3
1 <tool id="volcanoplot" name="Volcano Plot" version="0.0.1"> 1 <tool id="volcanoplot" name="Volcano Plot" version="0.0.2">
2 <description>create a volcano plot</description> 2 <description>create a volcano plot</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="3.0.0">r-ggplot2</requirement> 4 <requirement type="package" version="3.0.0">r-ggplot2</requirement>
5 <requirement type="package" version="0.8.0">r-ggrepel</requirement> 5 <requirement type="package" version="0.8.0">r-ggrepel</requirement>
6 <requirement type="package" version="0.7.6">r-dplyr</requirement> 6 <requirement type="package" version="0.7.6">r-dplyr</requirement>
20 -l $label_col 20 -l $label_col
21 -s $signif_thresh 21 -s $signif_thresh
22 -x $lfc_thresh 22 -x $lfc_thresh
23 #if $labels.label_select == 'file': 23 #if $labels.label_select == 'file':
24 -f '$labels.label_file' 24 -f '$labels.label_file'
25 #else if $labels.top_num: 25 #else if $labels.label_select == 'signif':
26 -t $labels.top_num 26 #if $labels.top_num:
27 -t $labels.top_num
28 #end if
29 #else
30 -t 0
27 #end if 31 #end if
28 #if $plot_options.title: 32 #if $plot_options.title:
29 -T '$plot_options.title' 33 -T '$plot_options.title'
30 #end if 34 #end if
31 #if $plot_options.xlab: 35 #if $plot_options.xlab:
47 <param name="lfc_col" type="data_column" data_ref="input" label="Log Fold Change" /> 51 <param name="lfc_col" type="data_column" data_ref="input" label="Log Fold Change" />
48 <param name="label_col" type="data_column" data_ref="input" label="Labels" /> 52 <param name="label_col" type="data_column" data_ref="input" label="Labels" />
49 <param name="signif_thresh" type="float" max="1" value="0.05" label="Significance threshold" help="Default: 0.05"/> 53 <param name="signif_thresh" type="float" max="1" value="0.05" label="Significance threshold" help="Default: 0.05"/>
50 <param name="lfc_thresh" type="float" value="0" label="LogFC threshold to colour" help="Default: 0"/> 54 <param name="lfc_thresh" type="float" value="0" label="LogFC threshold to colour" help="Default: 0"/>
51 <conditional name="labels"> 55 <conditional name="labels">
52 <param name="label_select" type="select" label="Points to label" help="Select to label top significant points or input labels from file. All points meeting the significance threshold are labelled by default."> 56 <param name="label_select" type="select" label="Points to label" help="Select to label significant points or input labels from file. Default: None">
53 <option value="signif" selected="True">Significant</option> 57 <option value="none" selected="True">None</option>
58 <option value="signif">Significant</option>
54 <option value="file">Input from file</option> 59 <option value="file">Input from file</option>
55 </param> 60 </param>
56 <when value="signif"> 61 <when value="signif">
57 <param name="top_num" type="integer" optional="True" label="Only label top most significant" help="Specify the top number of points to label by P value significance"/> 62 <param name="top_num" type="integer" optional="True" label="Only label top most significant" help="Specify the top number of points to label by P value significance. If no number is specified, all points that pass the FDR and Log Fold Change thresholds will be labelled."/>
58 </when> 63 </when>
59 <when value="file"> 64 <when value="file">
60 <param name="label_file" type="data" format="tabular" label="File of labels"/> 65 <param name="label_file" type="data" format="tabular" label="File of labels"/>
61 </when> 66 </when>
62 </conditional> 67 </conditional>
117 * P value 122 * P value
118 * FDR / adjusted P value 123 * FDR / adjusted P value
119 * Log fold change 124 * Log fold change
120 * Labels (e.g. Gene symbols or IDs) 125 * Labels (e.g. Gene symbols or IDs)
121 126
122 All points meeting the specified significance threshold will be labelled by default with the values in the Labels columns. Users can select to only label the top significant points under **Plot Options** or only to label certain points through providing a tabular labels file. The labels file must contin a header row and have the labels in the first column. These labels must match the labels in the main input file. If no labels are desired specify 0 for "Only label top most signifcant". If a log fold change (lfc) threshold is specified, points that meet the significance threshold and lfc threshold will be coloured red if upregulated and blue if downregulated. 127 All significant points, those meeting the specified FDR and Log Fold Change thresholds, will be coloured, red for upregulated, blue for downregulated. Users can choose to apply labels to the points (such as gene symbols) from the Labels column. To label all significant points, select "Significant" for the **Points to label** option, or to only label the top most significant specify a number under "Only label top most significant". Users can label any points of interest through selecting **Points to label** "Input from file" and providing a tabular labels file. The labels file must contain a header row and have the labels in the first column. These labels must match the labels in the main input file.
123 128
124 **Outputs** 129 **Outputs**
125 130
126 A PDF containing a Volcano plot like below. 131 A PDF containing a Volcano plot like below.
127 132