Mercurial > repos > testtool > survival
comparison survival/survival.xml @ 17:2d38d5edc913 draft
Uploaded
author | testtool |
---|---|
date | Mon, 02 Oct 2017 08:27:28 -0400 |
parents | 53dff79c833b |
children | 2d017484d600 |
comparison
equal
deleted
inserted
replaced
16:53dff79c833b | 17:2d38d5edc913 |
---|---|
2 <description>core survival analysis</description> | 2 <description>core survival analysis</description> |
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="2.40_1">r-survival</requirement> | 4 <requirement type="package" version="2.40_1">r-survival</requirement> |
5 </requirements> | 5 </requirements> |
6 <command detect_errors="aggressive"> | 6 <command detect_errors="aggressive"> |
7 Rscript '$__tool_directory__/survival.R' '$input' '$type' '$error' '$conf.type' '$conf.lower' '$fit' '$png' | 7 Rscript '$__tool_directory__/survival.R' '$input' '$type' '$error' '$conf_type' '$conf_lower' '$fit' '$png' |
8 </command> | 8 </command> |
9 <inputs> | 9 <inputs> |
10 <param format="csv" type="data" name="input" value="" label="survival data" help=" | 10 <param format="csv" type="data" name="input" value="" label="survival data" help=" |
11 e.g. survival table | 11 e.g. survival table |
12 X obsT status X1 X2 | 12 X obsT status X1 X2 |
13 17 1815 FALSE 2 HOXA1 | 13 17 1815 FALSE 2 HOXA1 |
14 18 145 TRUE 1 HOXA1 | 14 18 145 TRUE 1 HOXA1 |
15 19 2506 FALSE 1 HOXA1 | 15 19 2506 FALSE 1 HOXA1 |
16 20 1382 TRUE 1 HOXA1 ''"/> | 16 20 1382 TRUE 1 HOXA1 ''"/> |
17 | 17 |
18 <conditional name="select_type1"> | 18 <conditional name="type"> |
19 <param name="input_type_selector1" type="select" label="Type of survival curve:"> | 19 <param name="type" type="select" label="Type of survival curve:"> |
20 <option value="kaplan-meier">kaplan-meier</option> | 20 <option value="kaplan-meier">kaplan-meier</option> |
21 <option value="fleming-harrington">fleming-harrington</option> | 21 <option value="fleming-harrington">fleming-harrington</option> |
22 <option value="fh2">fleming-harrington</option> | 22 <option value="fh2">fleming-harrington</option> |
23 </param> | 23 </param> |
24 <when value="kaplan-meier"> | 24 <when value="kaplan-meier"> |
30 <when value="fh2"> | 30 <when value="fh2"> |
31 <param name="type" type="text" value="fh2" label="fh2" /> | 31 <param name="type" type="text" value="fh2" label="fh2" /> |
32 </when> | 32 </when> |
33 </conditional> | 33 </conditional> |
34 | 34 |
35 <conditional name="select_type2"> | 35 <conditional name="error"> |
36 <param name="input_type_selector2" type="select" label="Type of error:"> | 36 <param name="error" type="select" label="Type of error:"> |
37 <option value="greenwood">greenwood</option> | 37 <option value="greenwood">greenwood</option> |
38 <option value="tsiatis">tsiatis</option> | 38 <option value="tsiatis">tsiatis</option> |
39 </param> | 39 </param> |
40 <when value="greenwood"> | 40 <when value="greenwood"> |
41 <param name="type" type="text" value="greenwood" label="greenwood" /> | 41 <param name="type" type="text" value="greenwood" label="greenwood" /> |
43 <when value="tsiatis"> | 43 <when value="tsiatis"> |
44 <param name="type" type="text" value="tsiatis" label="tsiatis" /> | 44 <param name="type" type="text" value="tsiatis" label="tsiatis" /> |
45 </when> | 45 </when> |
46 </conditional> | 46 </conditional> |
47 | 47 |
48 <conditional name="select_type3"> | 48 <conditional name="conf_type"> |
49 <param name="input_type_selector3" type="select" label="Type of conf.type:"> | 49 <param name="conf_type" type="select" label="Type of conf_type:"> |
50 <option value="log">log</option> | 50 <option value="log">log</option> |
51 <option value="log-log">log-log</option> | 51 <option value="log-log">log-log</option> |
52 <option value="plain">plain</option> | 52 <option value="plain">plain</option> |
53 <option value="none">none</option> | 53 <option value="none">none</option> |
54 </param> | 54 </param> |
64 <when value="none"> | 64 <when value="none"> |
65 <param name="type" type="text" value="none" label="none" /> | 65 <param name="type" type="text" value="none" label="none" /> |
66 </when> | 66 </when> |
67 </conditional> | 67 </conditional> |
68 | 68 |
69 <conditional name="select_type4"> | 69 <conditional name="conf_lower"> |
70 <param name="input_type_selector4" type="select" label="Type of conf.lower:"> | 70 <param name="conf_lower" type="select" label="Type of conf_lower:"> |
71 <option value="usual">usual</option> | 71 <option value="usual">usual</option> |
72 <option value="peto">fleming-harrington</option> | 72 <option value="peto">fleming-harrington</option> |
73 <option value="modified">fleming-harrington</option> | 73 <option value="modified">fleming-harrington</option> |
74 </param> | 74 </param> |
75 <when value="usual"> | 75 <when value="usual"> |