annotate rtsne.xml @ 1:53cfe6f313b3 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 9820a6eac7deb86db27eb85ba756ce0267c178e8
author iuc
date Tue, 22 Aug 2017 17:48:49 -0400
parents dd53658a0843
children
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>
1
53cfe6f313b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 9820a6eac7deb86db27eb85ba756ce0267c178e8
iuc
parents: 0
diff changeset
3 <requirement type="package" version="0.13">r-rtsne</requirement>
53cfe6f313b3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 9820a6eac7deb86db27eb85ba756ce0267c178e8
iuc
parents: 0
diff changeset
4 <requirement type="package" version="2.2.1">r-ggplot2</requirement>
0
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
5 </requirements>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
6 <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
7 cat '$script' &&
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
8 Rscript '$script' &&
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
9 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
10 ]]></command>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
11 <configfiles>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
12 <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
13 ## 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
14 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
15 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
16
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
17 ## Import library
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
18 library(Rtsne)
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
19 library(ggplot2)
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
20
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
21 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
22
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
23 data = $data
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
24 name = $name
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
25
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
26 #if $transform == "none"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
27 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
28 #elif $transform == "log2"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
29 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
30 #elsif $transform == "log2plus1"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
31 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
32 #elif $transform == "log10"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
33 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
34 #elif $transform == "log10plus1"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
35 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
36 #end if
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
37
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
38 ## Show/hide legend
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
39 #if $legend == "yes"
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
40 gg_legend = NULL
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
41 #else
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
42 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
43 #end if
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
44
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
45 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
46 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
47
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
48 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
49 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
50
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
51 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
52 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
53 gg_legend +
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
54 xlab("") +
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
55 ylab("") +
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
56 ggtitle('$title')
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
57
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
58 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
59 dev.off()
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
60
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
61 ]]></configfile>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
62 </configfiles>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
63
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
64 <inputs>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
65 <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
66 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
67 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
68 <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
69 <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
70 <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
71 <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
72 <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
73 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
74 <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
75 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
76 <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
77 <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
78 <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
79 <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
80 <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
81 <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
82 </param>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
83
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
84 <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
85 <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
86 <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
87 </param>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
88 </inputs>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
89 <outputs>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
90 <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
91 </outputs>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
92 <tests>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
93 <test>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
94 <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
95 <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
96 <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
97 <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
98 </test>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
99 </tests>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
100 <help><![CDATA[
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
101 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
102 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
103
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
104 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
105 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
106 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
107
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
108 ]]></help>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
109 <citations>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
110 <citation type="bibtex">
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
111 @Manual{,
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
112 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
113 Barnes-Hut Implementation},
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
114 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
115 year = {2015},
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
116 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
117 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
118 }
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
119 </citation>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
120 </citations>
dd53658a0843 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tsne commit 62172bde663955b6c3cb86dc22c47739824f014a
iuc
parents:
diff changeset
121 </tool>