Mercurial > repos > moheydarian > cast
view cast.xml @ 3:d7e3814be68e draft default tip
Uploaded
| author | moheydarian |
|---|---|
| date | Mon, 13 Mar 2017 11:00:51 -0400 |
| parents | 25701d50da89 |
| children |
line wrap: on
line source
<tool id="cast" name="cast" version="0.0.2"> <description>expand combinations of variables:values to columnar format</description> <requirements> <requirement type="package">r-getopt</requirement> <requirement type="package">r-reshape2</requirement> </requirements> <stdio> <exit_code range="1:" /> </stdio> <command><![CDATA[ Rscript ${__tool_directory__}/cast.R --input "$input1" --output "output.tabular" ]]></command> <inputs> <param name="input1" type="data" format="tabular" label="Input should be molten data"/> </inputs> <outputs> <data name="output1" format="tabular" from_work_dir="output.tabular"/> </outputs> <tests> <test> <param name="input1" value="input.txt"/> <output name="output1" file="output.tabular"/> </test> </tests> <help><![CDATA[ This tool will apply the dcast function of the reshape2 R package. The input data should be in a 'long' format or molten by the melt tool. The output will be in a wide format. The cast function expands each unique variable:value combination on a single line to columnar format. Documantation on the reshape2 package can be found here: https://cran.r-project.org/web/packages/reshape2/reshape2.pdf ]]></help> <citations> <citation type="bibtex"> @misc{renameTODO, author = {TODO, FirstTODO}, year = {TODO}, title = {TODO}, url = {under construction}, }</citation> </citations> </tool>
