0
|
1 <tool id="survival" name="survival" version="1.0.0">
|
|
2 <description>core survival analysis</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="2.40_1">r-survival</requirement>
|
|
5 </requirements>
|
|
6 <command detect_errors="aggressive">
|
|
7 Rscript '$__tool_directory__/survival.R' '$input' '$fit' '$png'
|
|
8 </command>
|
|
9 <inputs>
|
|
10 <param format="csv" type="data" name="input" value="" label="survival data" help="e.g. ''"/>
|
|
11 </inputs>
|
|
12 <outputs>
|
|
13 <data format="csv" name="fit" label="survfit.csv" />
|
|
14 <data format="png" name="png" label="survfit.png" />
|
|
15 </outputs>
|
|
16 <tests>
|
|
17 <test>
|
|
18 <param name="test">
|
|
19 <element name="test-data">
|
|
20 <collection type="data">
|
|
21 <element format="csv" name="input" label="test-data/input.csv"/>
|
|
22 </collection>
|
|
23 </element>
|
|
24 </param>
|
|
25 <output format="csv" name="fit" label="test-data/survfit.csv"/>
|
|
26 <output fformat="png" name="png" label="test-data/survfit.png"/>
|
|
27 </test>
|
|
28 </tests>
|
|
29 <help>
|
|
30 **Contains the core survival analysis routines, including definition of Surv objects, Kaplan-Meier**
|
|
31 </help>
|
|
32 <citations>
|
|
33 <citation>https://CRAN.R-project.org/package=survival</citation>
|
|
34 </citations>
|
|
35 </tool>
|