annotate rtsne.xml @ 0:dd53658a0843 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
author iuc
date Tue, 22 Aug 2017 07:38:53 -0400
parents
children 53cfe6f313b3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
1 <tool id="tsne" name="rtsne" version="0.0.2">
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
2 <requirements>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
3 <requirement type="package">r-getopt</requirement>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
4 <requirement type="package">r-rtsne</requirement>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
5 <requirement type="package">r-ggplot2</requirement>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
6 </requirements>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
8 cat '$script' &&
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
9 Rscript '$script' &&
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
10 mv output_plot.pdf $output1
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
11 ]]></command>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
12 <configfiles>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
13 <configfile name="script"><![CDATA[
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
14 ## Setup R error handling to go to stderr
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
15 options(show.error.messages=F, error=function(){cat(geterrmessage(),file=stderr());q("no",1,F)})
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
16 loc <- Sys.setlocale("LC_MESSAGES", "en_US.UTF-8")
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
17
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
18 ## Import library
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
19 library(Rtsne)
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
20 library(ggplot2)
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
21
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
22 all <- read.delim('$input1', sep='\t', header=TRUE)
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
23
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
24 data = $data
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
25 name = $name
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
26
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
27 #if $transform == "none"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
28 log.all <- all[, data:ncol(all)]
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
29 #elif $transform == "log2"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
30 log.all <- log2(all[, data:ncol(all)])
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
31 #elsif $transform == "log2plus1"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
32 log.all <- log2(1+all[, data:ncol(all)])
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
33 #elif $transform == "log10"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
34 log.all <- log(all[, data:ncol(all)])
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
35 #elif $transform == "log10plus1"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
36 log.all <- log(1+all[, data:ncol(all)])
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
37 #end if
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
38
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
39 ## Show/hide legend
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
40 #if $legend == "yes"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
41 gg_legend = NULL
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
42 #else
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
43 gg_legend = theme(legend.position="none")
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
44 #end if
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
45
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
46 set.seed($seed) ## Sets seed for reproducibility
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
47 tsne_out <- Rtsne(as.matrix(log.all[,1:ncol(log.all)]), perplexity=$perp, theta=$theta) ## Run TSNE
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
48
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
49 embedding <- as.data.frame(tsne_out\$Y)
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
50 embedding\$Class <- as.factor(sub("Class_", "", all[,name]))
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
51
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
52 ggplot(embedding, aes(x=V1, y=V2, color=Class)) +
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
53 geom_point(size=1.25) +
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
54 gg_legend +
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
55 xlab("") +
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
56 ylab("") +
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
57 ggtitle('$title')
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
58
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
59 ggsave(file='output_plot.pdf')
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
60 dev.off()
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
61
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
62 ]]></configfile>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
63 </configfiles>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
64
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
65 <inputs>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
66 <param name="input1" type="data" format="tabular"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
67 label="Tabular input dataset"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
68 help="Input should have column headers with an identifier column followed by consencutive numerical columns used for clustering"/>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
69 <param name="title" type="text" format="txt" label="Plot title"/>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
70 <param name="seed" value="42.0" type="float" label="Seed value for reproducibiity" help="Set to 42 as default" />
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
71 <param name="perp" value="10.0" type="float" label="perplexity"/>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
72 <param name="theta" value="1.0" type="float" label="theta"/>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
73 <param name="name" value="1" type="data_column" data_ref="input1"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
74 label="The column with the ID to use in grouping (or just an ID if plotting invdividuals)"/>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
75 <param name="data" value="2" type="data_column" data_ref="input1"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
76 label="The column that contains the first numerical data"/>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
77 <param name="transform" type="select" label="Advanced - log transformation">
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
78 <option value="none">Plot the data as it is</option>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
79 <option value="log2">Log2(value) transform my data</option>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
80 <option value="log2plus1">Log2(value+1) transform my data</option>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
81 <option value="log10">Log10(value) transform my data</option>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
82 <option value="log10plus1">Log10(value+1) transform my data</option>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
83 </param>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
84
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
85 <param name="legend" type="select" label="Legend options">
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
86 <option value="yes">Include legend on plot</option>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
87 <option value="no">Hide legend</option>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
88 </param>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
89 </inputs>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
90 <outputs>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
91 <data name="output1" format="pdf" from_work_dir="Rplot.pdf"/>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
92 </outputs>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
93 <tests>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
94 <test>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
95 <param name="input1" value="mtcars.txt"/>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
96 <param name="transform" value="none"/>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
97 <param name="perp" value="10.0"/>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
98 <output name="output1" file="Rplot.pdf"/>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
99 </test>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
100 </tests>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
101 <help><![CDATA[
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
102 T-distributed Stochastic Neighbor Embedding implementation by Van der Maaten (see <https://github.com/lvdmaaten/bhtsne/>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
103 for more information on the original implementation).
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
104
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
105 Your data should be in tabular format. Objects in rows will be clustered according to the observations in columns.
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
106 Labels for objects can be assigned in the tool form by providing the column number of the identifier you wish to use.
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
107 Additionaly, the first column containing numeric data should be provided to the tool form.
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
108
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
109 ]]></help>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
110 <citations>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
111 <citation type="bibtex">
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
112 @Manual{,
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
113 title = {{Rtsne}: T-Distributed Stochastic Neighbor Embedding using
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
114 Barnes-Hut Implementation},
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
115 author = {Jesse H. Krijthe},
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
116 year = {2015},
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
117 note = {R package version 0.13},
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
118 url = {https://github.com/jkrijthe/Rtsne},
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
119 }
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
120 </citation>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
121 </citations>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
122 </tool>