comparison plotly_regression_performance_plots.xml @ 0:0800a1b66bbd draft

planemo upload for repository commit c17efec384ad7438f54675fae1ab0c3a57c22869
author bgruening
date Thu, 08 Nov 2018 13:28:04 -0500
equal deleted inserted replaced
-1:000000000000 0:0800a1b66bbd
1 <tool id="plotly_regression_performance_plots" name="Plot actual vs predicted curves and residual plots" version="0.1">
2 <description>of tabular data</description>
3 <requirements>
4 <requirement type="package" version="3.6">python</requirement>
5 <requirement type="package" version="0.22.0">pandas</requirement>
6 <requirement type="package" version="3.1.1">plotly</requirement>
7 </requirements>
8 <version_command>echo $version</version_command>
9 <command detect_errors="aggressive"><![CDATA[
10 python '$__tool_directory__/'
11 -i '$infile_input'
12 -j '$infile_output'
13 ]]>
14 </command>
15 <inputs>
16 <param name="infile_input" type="data" format="tabular" label="Select input data file :" help="Input data is a tabular file in which the last column (including the column if there is only one) contains the target values."/>
17 <param name="infile_output" type="data" format="tabular" label="Select predicted data file :" help="Predicted data is a tabular file in which the last column (including the column if there is only one) contains the predicted values."/>
18 </inputs>
20 <outputs>
21 <data name="output_actual_vs_pred" format="html" from_work_dir="output_actual_vs_pred.html" label="Actual vs predicted curves of tabular data on ${on_string}"/>
22 <data name="output_scatter_plot" format="html" from_work_dir="output_scatter_plot.html" label="Scatter plot of actual and predicted values of tabular data on ${on_string}"/>
23 <data name="output_residual_plot" format="html" from_work_dir="output_residual_plot.html" label="Residual plot of tabular data on ${on_string}"/>
24 </outputs>
26 <tests>
27 <test>
28 <param name="infile_input" value="test_targets" ftype="tabular"/>
29 <param name="infile_output" value="predictions_gtbr" ftype="tabular"/>
30 <output name="output_actual_vs_pred" file="output_actual_vs_pred_gtbr.html" compare="sim_size"/>
31 <output name="output_scatter_plot" file="output_scatter_plot_gtbr.html" compare="sim_size"/>
32 <output name="output_residual_plot" file="output_residual_plot_gtbr.html" compare="sim_size"/>
33 </test>
34 </tests>
35 <help><![CDATA[
36 **What it does**
39 Produce a `line and scatter curves <>`_ from tabular files. The input data contains the true values (last column) and the predicted data contains the predicted values (last column). The true and predicted values are plotted against each other. The plot is buried in a html file which provides rich interactive features. Image can be saved in various format, such as 'png', 'svg', 'jpeg' and so on.
41 ]]>
42 </help>
43 </tool>