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