annotate survival/survival.xml @ 30:e5b8435e5379 draft

Uploaded
author testtool
date Mon, 02 Oct 2017 11:03:58 -0400
parents 45848020d137
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
1 <tool id="survival" name="survival" version="1.0.0">
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
2 <description>core survival analysis</description>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
3 <requirements>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
4 <requirement type="package" version="2.40_1">r-survival</requirement>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
5 </requirements>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
6 <command detect_errors="aggressive">
24
51181b91c57e Uploaded
testtool
parents: 23
diff changeset
7 Rscript '$__tool_directory__/survival.R' '$input' '$type' '$error' '$conf_type' '$conf_lower' '$fit' '$png'
0
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
8 </command>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
9 <inputs>
3
e31c47bf46a4 Uploaded
testtool
parents: 0
diff changeset
10 <param format="csv" type="data" name="input" value="" label="survival data" help="
e31c47bf46a4 Uploaded
testtool
parents: 0
diff changeset
11 e.g. survival table
e31c47bf46a4 Uploaded
testtool
parents: 0
diff changeset
12 X obsT status X1 X2
e31c47bf46a4 Uploaded
testtool
parents: 0
diff changeset
13 17 1815 FALSE 2 HOXA1
e31c47bf46a4 Uploaded
testtool
parents: 0
diff changeset
14 18 145 TRUE 1 HOXA1
e31c47bf46a4 Uploaded
testtool
parents: 0
diff changeset
15 19 2506 FALSE 1 HOXA1
e31c47bf46a4 Uploaded
testtool
parents: 0
diff changeset
16 20 1382 TRUE 1 HOXA1 ''"/>
e31c47bf46a4 Uploaded
testtool
parents: 0
diff changeset
17
28
902b2b5169ad Uploaded
testtool
parents: 27
diff changeset
18 <param argument="type" type="select" label="Type of survival curve:" >
21
f0f0a46d7b4e Uploaded
testtool
parents: 19
diff changeset
19 <option value="kaplan-meier">kaplan-meier</option>
f0f0a46d7b4e Uploaded
testtool
parents: 19
diff changeset
20 <option value="fleming-harrington">fleming-harrington</option>
f0f0a46d7b4e Uploaded
testtool
parents: 19
diff changeset
21 <option value="fh2">fh2</option>
28
902b2b5169ad Uploaded
testtool
parents: 27
diff changeset
22 </param>
902b2b5169ad Uploaded
testtool
parents: 27
diff changeset
23
30
e5b8435e5379 Uploaded
testtool
parents: 29
diff changeset
24 <param argument="error" type="select" label="Type of error:" >
21
f0f0a46d7b4e Uploaded
testtool
parents: 19
diff changeset
25 <option value="greenwood">greenwood</option>
f0f0a46d7b4e Uploaded
testtool
parents: 19
diff changeset
26 <option value="tsiatis">tsiatis</option>
29
45848020d137 Uploaded
testtool
parents: 28
diff changeset
27 </param>
45848020d137 Uploaded
testtool
parents: 28
diff changeset
28
30
e5b8435e5379 Uploaded
testtool
parents: 29
diff changeset
29 <param argument="conf_type" type="select" label="Type of conf.type:" >
21
f0f0a46d7b4e Uploaded
testtool
parents: 19
diff changeset
30 <option value="log">log</option>
f0f0a46d7b4e Uploaded
testtool
parents: 19
diff changeset
31 <option value="log-log">log-log</option>
f0f0a46d7b4e Uploaded
testtool
parents: 19
diff changeset
32 <option value="plain">plain</option>
f0f0a46d7b4e Uploaded
testtool
parents: 19
diff changeset
33 <option value="none">none</option>
29
45848020d137 Uploaded
testtool
parents: 28
diff changeset
34 </param>
3
e31c47bf46a4 Uploaded
testtool
parents: 0
diff changeset
35
29
45848020d137 Uploaded
testtool
parents: 28
diff changeset
36
30
e5b8435e5379 Uploaded
testtool
parents: 29
diff changeset
37 <param argument="conf_lower" type="select" label="Type of conf.lower:" >
21
f0f0a46d7b4e Uploaded
testtool
parents: 19
diff changeset
38 <option value="usual">usual</option>
f0f0a46d7b4e Uploaded
testtool
parents: 19
diff changeset
39 <option value="peto">peto</option>
f0f0a46d7b4e Uploaded
testtool
parents: 19
diff changeset
40 <option value="modified">modified</option>
29
45848020d137 Uploaded
testtool
parents: 28
diff changeset
41 </param>
3
e31c47bf46a4 Uploaded
testtool
parents: 0
diff changeset
42
0
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
43 </inputs>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
44 <outputs>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
45 <data format="csv" name="fit" label="survfit.csv" />
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
46 <data format="png" name="png" label="survfit.png" />
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
47 </outputs>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
48 <tests>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
49 <test>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
50 <param name="test">
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
51 <element name="test-data">
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
52 <collection type="data">
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
53 <element format="csv" name="input" label="test-data/input.csv"/>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
54 </collection>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
55 </element>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
56 </param>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
57 <output format="csv" name="fit" label="test-data/survfit.csv"/>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
58 <output fformat="png" name="png" label="test-data/survfit.png"/>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
59 </test>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
60 </tests>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
61 <help>
3
e31c47bf46a4 Uploaded
testtool
parents: 0
diff changeset
62 **Computes an estimate of a survival curve for censored data using either the Kaplan-Meier or the Fleming-Harrington method or computes the predicted survivor function for a Cox proportional hazards model.**
0
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
63 </help>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
64 <citations>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
65 <citation>https://CRAN.R-project.org/package=survival</citation>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
66 </citations>
6cc0c5eb71b2 Uploaded
testtool
parents:
diff changeset
67 </tool>