annotate mds_plot.xml @ 0:fe542273784f draft default tip

Uploaded
author bgruening
date Thu, 15 Aug 2013 03:39:14 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fe542273784f Uploaded
bgruening
parents:
diff changeset
1 <tool id="ctb_mds_plot" name="MDS Scatter Plot" version="0.1">
fe542273784f Uploaded
bgruening
parents:
diff changeset
2 <description>of molecule similarity</description>
fe542273784f Uploaded
bgruening
parents:
diff changeset
3 <requirements>
fe542273784f Uploaded
bgruening
parents:
diff changeset
4 <requirement type="package" version="0.13.1">scikit_learn</requirement>
fe542273784f Uploaded
bgruening
parents:
diff changeset
5 <requirement type="package" version="1.2.1">matplotlib</requirement>
fe542273784f Uploaded
bgruening
parents:
diff changeset
6 </requirements>
fe542273784f Uploaded
bgruening
parents:
diff changeset
7 <command interpreter='python'>
fe542273784f Uploaded
bgruening
parents:
diff changeset
8 mds_plot.py
fe542273784f Uploaded
bgruening
parents:
diff changeset
9 -i $infile
fe542273784f Uploaded
bgruening
parents:
diff changeset
10 --oformat $oformat
fe542273784f Uploaded
bgruening
parents:
diff changeset
11 -o $outfile
fe542273784f Uploaded
bgruening
parents:
diff changeset
12 </command>
fe542273784f Uploaded
bgruening
parents:
diff changeset
13 <inputs>
fe542273784f Uploaded
bgruening
parents:
diff changeset
14 <param name="infile" type="data" format="binary" label="Similarity Matrix"/>
fe542273784f Uploaded
bgruening
parents:
diff changeset
15 <param name='oformat' type='select' format='text' label="Format of the resulting picture">
fe542273784f Uploaded
bgruening
parents:
diff changeset
16 <option value='png'>PNG</option>
fe542273784f Uploaded
bgruening
parents:
diff changeset
17 <option value='svg'>SVG</option>
fe542273784f Uploaded
bgruening
parents:
diff changeset
18 </param>
fe542273784f Uploaded
bgruening
parents:
diff changeset
19 </inputs>
fe542273784f Uploaded
bgruening
parents:
diff changeset
20 <outputs>
fe542273784f Uploaded
bgruening
parents:
diff changeset
21 <data type="data" format="png" name="outfile" label="${tool.name} on ${on_string}"></data>
fe542273784f Uploaded
bgruening
parents:
diff changeset
22 </outputs>
fe542273784f Uploaded
bgruening
parents:
diff changeset
23 <tests>
fe542273784f Uploaded
bgruening
parents:
diff changeset
24 <test>
fe542273784f Uploaded
bgruening
parents:
diff changeset
25 <param name="infile" ftype="tabular" value="sm.dat" />
fe542273784f Uploaded
bgruening
parents:
diff changeset
26 <output ftype="png" name="outfile" file='mds_plot_on_sm_dat.png' />
fe542273784f Uploaded
bgruening
parents:
diff changeset
27 </test>
fe542273784f Uploaded
bgruening
parents:
diff changeset
28 </tests>
fe542273784f Uploaded
bgruening
parents:
diff changeset
29 <help>
fe542273784f Uploaded
bgruening
parents:
diff changeset
30
fe542273784f Uploaded
bgruening
parents:
diff changeset
31 **Note**. You need an NxN similarity matrix as input. Use the NxN Clustering tool to generate one.
fe542273784f Uploaded
bgruening
parents:
diff changeset
32
fe542273784f Uploaded
bgruening
parents:
diff changeset
33 **What it does**
fe542273784f Uploaded
bgruening
parents:
diff changeset
34
fe542273784f Uploaded
bgruening
parents:
diff changeset
35 Scatter plot of similarity matrix after embeding in 2D coordinates using Multidimensional Scaling (MDS).
fe542273784f Uploaded
bgruening
parents:
diff changeset
36
fe542273784f Uploaded
bgruening
parents:
diff changeset
37 -----
fe542273784f Uploaded
bgruening
parents:
diff changeset
38
fe542273784f Uploaded
bgruening
parents:
diff changeset
39 **Example**
fe542273784f Uploaded
bgruening
parents:
diff changeset
40
fe542273784f Uploaded
bgruening
parents:
diff changeset
41 * input::
fe542273784f Uploaded
bgruening
parents:
diff changeset
42 Similarity Matrix
fe542273784f Uploaded
bgruening
parents:
diff changeset
43
fe542273784f Uploaded
bgruening
parents:
diff changeset
44 * output::
fe542273784f Uploaded
bgruening
parents:
diff changeset
45
fe542273784f Uploaded
bgruening
parents:
diff changeset
46 Scatter plot
fe542273784f Uploaded
bgruening
parents:
diff changeset
47
fe542273784f Uploaded
bgruening
parents:
diff changeset
48 .. image:: $PATH_TO_IMAGES/mds_plot.png
fe542273784f Uploaded
bgruening
parents:
diff changeset
49
fe542273784f Uploaded
bgruening
parents:
diff changeset
50 </help>
fe542273784f Uploaded
bgruening
parents:
diff changeset
51
fe542273784f Uploaded
bgruening
parents:
diff changeset
52 </tool>