comparison cluster.tools/select.k.from.consensus.cluster.xml @ 2:b442996b66ae draft

Uploaded
author peter-waltman
date Wed, 27 Feb 2013 20:17:04 -0500
parents
children
comparison
equal deleted inserted replaced
1:e25d2bece0a2 2:b442996b66ae
1 <tool id="select_consensus_k" name="Select Consensus Clustering K" force_history_refresh="True">
2 <command interpreter="python">select.k.from.consensus.cluster.py
3 -r ${cc_results}
4 -c ${change_min}
5 -m $metric_cond.metric
6 -h $report
7 -p ${report.files_path}
8 #if str($metric_cond.metric) == 'survival':
9 -s $metric_cond.survival
10 -e $metric_cond.mode
11 #end if
12 -o ${cluster_class}
13 </command>
14 <inputs>
15 <param name="cc_results" type="data" format="rdata" label="Consensus Clustering Results File" help="Specify the result from a consensus clustering run (see help below)"/>
16 <conditional name="metric_cond">
17 <param name="metric" type="select" label="Change Metric" help="Specify the choice of 'change' metric to use">
18 <option value="difference">Difference</option>
19 <option value="silhouette">silhouette</option>
20 <option value="survival">survival</option>
21 </param>
22 <when value="survival">
23 <param name="survival" type="data" label="Clinical Data" optional="true" help="Specify Clinical data to use"/>
24 <param name="mode" type="select" label="Survival Report Mode" help="Mode to use when performing Log-Rank tests">
25 <option value="all">All</option>
26 <option value="one">One</option>
27 <option value="both">Both</option>
28 </param>
29 </when>
30 </conditional>
31 <param name="change_min" type="float" label="Minimum relative change (AUC; pivot point for search)" value="0.1" help="Specify threshold to determine the minimum relative change"/>
32
33 </inputs>
34 <outputs>
35 <data format="rdata" name="cluster_class" label="Select K from Consensus Clustering Report (RData)"/>
36 <data format="html" name="report" label="Select K from Consensus Clustering Report (HTML)"/>
37 </outputs>
38 <help>
39 .. class:: infomark
40
41 **Select an choice of K from consensus clustering result**
42
43 ----
44
45 **Parameters**
46
47 - **Consensus Clustering Results File** Specify the result from a consensus clustering run (**MUST BE THE RDATA** outuput)
48
49 - **Change Metric** Specify the choice of 'change' metric to use. Choice of:
50
51 * Difference (relative difference in AUC between different choices of K)
52 * Silhouette (Max average silhouette width - search anchored by 'Change Min')
53 * Survival (Min p-value from Log-rank tests - search anchored by 'Change Min') **NOTE: WE DISCOURAGE USING THIS METRIC.**
54
55 - **Change Min** Threshold to determine the minimum relative change that's used to decide the choice of K
56
57
58 - **IF 'SURVIVAL' IS THE CHANGE METRIC, the following become available:**
59
60 - **Clinical Data** Specify Clinical data to use for performing the Log-Rank tests if 'Survival' is the metric
61 * **(MUST SPECIFY A PROPERLY FORMATTED CLINICAL DATA FILE** - See the "Format Raw TCGA sample IDs")
62
63 - **Clinical Report Mode** Mode to use when performing Log-Rank tests. Choice of:
64
65 * All - All clusters versus each other
66 * One - One cluster versus a meta-cluster composed of the others. Search performed exhaustively.
67 * Both - Perform both all-v-all and and one-v-others test; select the choice of K that gives the best
68
69 </help>
70 </tool>