annotate cluster.tools/dichotomize.sample.clusters.xml @ 9:a3c03541fe6f draft default tip

Uploaded
author peter-waltman
date Mon, 11 Mar 2013 17:30:48 -0400
parents 2efa1a284546
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
1 <tool id="dichotomize_sample_clusters" name="Dichotomize Previous Sample Cluster Result" force_history_refresh="True">
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
2 <command interpreter="python">dichotomize.sample.clusters.py
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
3 -d $dataset
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
4 #if str($k_range) != "-1":
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
5 -k ${k_range}
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
6 #end if
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
7 -o ${output_fname}
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
8
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
9 </command>
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
10 <inputs>
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
11 <param format="rdata" name="dataset" type="data" label="Sample Clustering Classification" help="Cluster result file from CCPLUS, HAC, or PAM"/>
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
12 <param name="k_range" type="text" label="Range of K to Dichotomize" value="-1" help="Specify the number of clusters to use (-1 to use default; see help below)"/>
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
13 </inputs>
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
14 <outputs>
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
15 <data format="tabular" name="output_fname" label="Dichotomized Sample Clusters (phenotype)"/>
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
16 </outputs>
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
17 <help>
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
18 - **Sample Clustering Classification Result** - Specify the cluster result to analayze (MUST BE IN rdata format), and must contain the same objects that are produced by the 'Partition Clustering,' 'Hierarchical Clustering (HAC),' or 'Consensus Clustering' tools.
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
19
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
20 - **Range of K to Dichotomize** Specify the maximum number of clusters to use; use -1 to indicate to use the default cluster size (i.e. if K-means and K was 5, 5 will be used)
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
21 * **To specify a range of K's to explore** users can use characters like commas (,), hyphens (-) and colons (:) to specify ranges.
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
22 * **Examples:**
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
23 * 2,4,6 - would generate a dictotomy for K's equal to 2, 4 and 6
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
24 * 2,4:6 - would generate a dictotomy for K's equal to 2, 4, 5 and 6
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
25 * 2,4-6 - would generate a dictotomy for K's equal to 2, 4, 5 and 6
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
26 * 2, 5:7, 9, 11-14 - would generate a dictotomy for K's equal to 2, 5, 6, 7, 9, 11, 12, 13 and 14.
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
27
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
28 - **NOTE,** however, the following limitations:
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
29 * IF cluster result is a **Partition** clustering (K-Means or PAM) - users **CAN NOT** specify alternate choices of K.
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
30 * IF cluster result is a result from the **Select K from Consensus Clustering** or **Extract Clustering from Consensus Clustering** tools - users **CAN NOT** specify alternate choices of K.
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
31 * IF cluster results is a "raw" result from Consensus Clustering, only the range of K's that Consensus Clustering considered can be used as alternate choices of K. Alternate choices of K outside of that range will be ignored.
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
32 * IF cluster result is a **Hierarchical** clustering - alternate choices of K that are greater than the total number of samples will be ignored
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
33
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
34 </help>
2efa1a284546 Uploaded
peter-waltman
parents:
diff changeset
35 </tool>