annotate heatmap2.xml @ 5:3b37b1b1c3a7 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
author iuc
date Tue, 12 Apr 2022 15:53:40 +0000
parents ca7cb0eaad62
children 566197475670
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
1 <tool id="ggplot2_heatmap2" name="heatmap2" version="@VERSION@">
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
2 <macros>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
3 <token name="@VERSION@">3.1.1</token>
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
4 </macros>
2
c6bfec911a41 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 1
diff changeset
5 <requirements>
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
6 <requirement type="package" version="@VERSION@">r-gplots</requirement>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
7 <requirement type="package" version="1.1_3">r-rcolorbrewer</requirement>
2
c6bfec911a41 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 1
diff changeset
8 </requirements>
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
10 cat '$script' &&
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
11 Rscript '$script'
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
12 ]]></command>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
13 <configfiles>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
14 <configfile name="script"><![CDATA[
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
15 ## Setup R error handling to go to stderr
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
16 options(show.error.messages=F, error=function(){cat(geterrmessage(), file=stderr()); q("no",1,F)})
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
17
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
18 ## Unify locale settings
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
19 loc <- Sys.setlocale("LC_MESSAGES", "en_US.UTF-8")
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
20
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
21 ## Import library
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
22 library("RColorBrewer")
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
23 library("gplots")
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
24
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
25 input <- read.delim('$input1', sep='\t', header=TRUE)
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
26
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
27 mat_input <- data.matrix(input[,2:ncol(input)])
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
28 rownames(mat_input) <- input[,1]
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
29
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
30 #if $transform == "none"
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
31 linput <- mat_input
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
32 #elif $transform == "log2"
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
33 linput <- log2(mat_input)
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
34 #elif $transform == "log2plus1"
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
35 linput <- log2(mat_input+1)
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
36 #elif $transform == "log10"
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
37 linput <- log10(mat_input)
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
38 #elif $transform == "log10plus1"
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
39 linput <- log10(mat_input+1)
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
40 #end if
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
41
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
42 #if $zscore_cond.zscore == "rows":
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
43 linput <- t(apply(linput, 1, scale))
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
44 colnames(linput) <- colnames(input)
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
45 rownames(linput) <- input[,1]
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
46 scale <- "none"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
47 #elif $zscore_cond.zscore == "cols":
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
48 linput <- apply(linput, 2, scale)
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
49 rownames(linput) <- input[,1]
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
50 scale <- "none"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
51 #elif $zscore_cond.zscore == "none":
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
52 scale <- "$zscore_cond.scale"
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
53 #end if
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
54
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
55 srtCol <- 45
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
56 #if $labels == "both"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
57 rlabs <- NULL
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
58 clabs <- NULL
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
59 #elif $labels == "rows"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
60 rlabs <- NULL
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
61 clabs <- FALSE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
62 srtCol <- NULL
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
63 #elif $labels == "columns"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
64 rlabs <- FALSE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
65 clabs <- NULL
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
66 #elif $labels == "none"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
67 rlabs <- FALSE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
68 clabs <- FALSE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
69 srtCol <- NULL
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
70 #end if
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
71
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
72 #if $cluster_cond.cluster == "yes":
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
73 dendrogramtoplot <- "$cluster_cond.cluster_cols_rows"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
74 #if $cluster_cond.cluster_cols_rows == "both"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
75 reorder_cols <- TRUE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
76 reorder_rows <- TRUE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
77 #elif $cluster_cond.cluster_cols_rows == "row"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
78 reorder_cols <- FALSE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
79 reorder_rows <- TRUE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
80 #elif $cluster_cond.cluster_cols_rows == "column"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
81 reorder_cols <- TRUE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
82 reorder_rows <- FALSE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
83 #end if
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
84 hclust_fun <- function(x) hclust(x, method='$cluster_cond.clustering')
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
85 #if $cluster_cond.distance == 'pearson_correlation':
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
86 dist_fun <- function(x) as.dist(1 - cor(t(x)))
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
87 #elif $cluster_cond.distance == 'spearmann_correlation':
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
88 dist_fun <- function(x) as.dist(1 - cor(t(x), method="spearman"))
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
89 #else:
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
90 dist_fun <- function(x) dist(x, method='$cluster_cond.distance')
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
91 #end if
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
92 #else:
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
93 dendrogramtoplot <- "none"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
94 reorder_cols <- FALSE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
95 reorder_rows <- FALSE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
96 hclust_fun <- hclust
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
97 dist_fun <- dist
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
98 #end if
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
99
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
100 ncolors <- 50
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
101 #if $colorchoice.type == "palettes":
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
102 colused <- brewer.pal(ncolors, "$colorchoice.name")
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
103 #elif $colorchoice.type == "two"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
104 colused <- colorRampPalette(c("$colorchoice.color1", "$colorchoice.color2"))(ncolors)
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
105 #elif $colorchoice.type == "three"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
106 colused <- colorRampPalette(c("$colorchoice.color1", "$colorchoice.color2", "$colorchoice.color3"))(ncolors)
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
107 #end if
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
108
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
109 #if $image_file_format == "pdf":
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
110 pdf(file='$output1')
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
111 #else:
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
112 png(file='$output1')
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
113 #end if
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
114
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
115 heatmap.2(linput, dendrogram=dendrogramtoplot, Colv=reorder_cols, Rowv=reorder_rows,
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
116 distfun=dist_fun, hclustfun=hclust_fun, scale = scale, labRow = rlabs, labCol = clabs,
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
117 col=colused, trace="none", density.info = "none", margins=c(8,8),
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
118 main = '$title', key.xlab='$key', keysize=1, cexCol=0.8, cexRow = 0.8, srtCol=srtCol)
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
119
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
120 dev.off()
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
121 ]]></configfile>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
122 </configfiles>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
123
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
124 <inputs>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
125 <param name="input1" type="data" format="tabular"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
126 label="Input should have column headers - these will be the columns that are plotted and row names."/>
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
127 <param name="title" type="text" format="txt" label="Plot title"/>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
128 <param name="key" type="text" format="txt" label="key title"/>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
129 <param name="transform" type="select" label="Data transformation">
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
130 <option value="none">Plot the data as it is</option>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
131 <option value="log2">Log2(value) transform my data</option>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
132 <option value="log2plus1">Log2(value+1) transform my data</option>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
133 <option value="log10">Log10(value) transform my data</option>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
134 <option value="log10plus1">Log10(value+1) transform my data</option>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
135 </param>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
136 <conditional name="zscore_cond">
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
137 <param name="zscore" type="select" label="Compute z-scores prior to clustering">
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
138 <option value="none">Do not compute z-scores</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
139 <option value="rows">Compute on rows</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
140 <option value="cols">Compute on columns</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
141 </param>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
142 <when value="none">
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
143 <param name="scale" type="select" label="Scale data on the plot (after clustering)" >
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
144 <option value="none" selected="true">Do not scale my data</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
145 <option value="row">Scale my data by row</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
146 <option value="column">Scale my data by column</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
147 </param>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
148 </when>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
149 <when value="rows"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
150 <when value="cols"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
151 </conditional>
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
152 <conditional name="cluster_cond">
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
153 <param name="cluster" type="select" label="Enable data clustering">
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
154 <option value="yes">Yes</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
155 <option value="no">No</option>
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
156 </param>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
157 <when value="yes">
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
158 <param name="cluster_cols_rows" type="select" label="Clustering columns and rows">
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
159 <option value="both" selected="true">Cluster rows and columns</option>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
160 <option value="row">Cluster rows and not columns</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
161 <option value="column">Cluster columns and not rows</option>
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
162 </param>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
163 <param name="distance" type="select" label="Distance method" help="The method used to compute the distance (dissimilarity) between both rows and columns. Default: Euclidean" >
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
164 <option value="euclidean" selected="true">Euclidean</option>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
165 <option value="maximum">Maximum</option>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
166 <option value="manhattan">Manhattan</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
167 <option value="canberra">Canberra</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
168 <option value="binary">Binary</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
169 <option value="minkowski">Minkowski</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
170 <option value="pearson_correlation">Pearson's correlation (1 - correlation coefficient)</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
171 <option value="spearmann_correlation">Spearmann's correlation (1 - correlation coefficient)</option>
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
172 </param>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
173 <param name="clustering" type="select" label="Clustering method" help="The method used to compute the hierarchical clustering. Default: Complete" >
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
174 <option value="complete" selected="true">Complete</option>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
175 <option value="average">Average (= UPGMA)</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
176 <option value="ward.D">ward.D</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
177 <option value="ward.D2">ward.D2</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
178 <option value="single">single</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
179 <option value="mcquitty">mcquitty (= WPGMA)</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
180 <option value="median">median (= WPGMC)</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
181 <option value="centroid">centroid (= UPGMC)</option>
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
182 </param>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
183 </when>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
184 <when value="no"/>
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
185 </conditional>
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
186 <param name="labels" type="select" label="Labeling columns and rows" >
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
187 <option value="both" selected="true">Label my columns and rows</option>
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
188 <option value="rows">Label rows and not columns</option>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
189 <option value="columns">Label columns and not rows</option>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
190 <option value="none">Do not label rows or columns</option>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
191 </param>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
192 <conditional name="colorchoice">
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
193 <param name="type" type="select" label="Type of colormap to use">
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
194 <option value="palettes">RColorBrewer palettes</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
195 <option value="two">Gradient with 2 colors</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
196 <option value="three">Gradient with 3 colors</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
197 </param>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
198 <when value="palettes">
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
199 <param name="name" type="select" label="Name of the colormap">
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
200 <option value="BrBG">BrBG</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
201 <option value="PiYG">PiYG</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
202 <option value="PRGn">PRGn</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
203 <option value="PuOr">PuOr</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
204 <option value="RdBu">RdBu</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
205 <option value="RdGy">RdGy</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
206 <option value="RdYlBu">RdYlBu</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
207 <option value="RdYlGn">RdYlGn</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
208 <option value="Spectral">Spectral</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
209 <option value="Blues">Blues</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
210 <option value="BuGn">BuGn</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
211 <option value="BuPu">BuPu</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
212 <option value="GnBu">GnBu</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
213 <option value="Greens">Greens</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
214 <option value="Greys">Greys</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
215 <option value="Oranges">Oranges</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
216 <option value="OrRd">OrRd</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
217 <option value="PuBu">PuBu</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
218 <option value="PuBuGn">PuBuGn</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
219 <option value="PuRd">PuRd</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
220 <option value="Purples">Purples</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
221 <option value="RdPu">RdPu</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
222 <option value="Reds">Reds</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
223 <option value="YlGn">YlGn</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
224 <option value="YlGnBu">YlGnBu</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
225 <option value="YlOrBr">YlOrBr</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
226 <option value="YlOrRd">YlOrRd</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
227 </param>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
228 </when>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
229 <when value="two">
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
230 <param name="color1" type="color" value="#ffffff" label="First color" />
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
231 <param name="color2" type="color" value="#ff0000" label="Second color" />
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
232 </when>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
233 <when value="three">
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
234 <param name="color1" type="color" value="#0000ff" label="First color" />
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
235 <param name="color2" type="color" value="#ffffff" label="Second color" />
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
236 <param name="color3" type="color" value="#ff0000" label="Third color" />
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
237 </when>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
238 </conditional>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
239 <param name="image_file_format" type="select" label="Output format">
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
240 <option value="pdf">PDF</option>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
241 <option value="png">PNG</option>
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
242 </param>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
243 </inputs>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
244 <outputs>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
245 <data name="output1" format="pdf">
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
246 <change_format>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
247 <when input="image_file_format" value="png" format="png" />
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
248 </change_format>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
249 </data>
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
250 </outputs>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
251 <tests>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
252 <test>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
253 <param name="input1" value="mtcars.txt"/>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
254 <param name="cluster" value="yes"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
255 <param name="type" value="two"/>
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
256 <output name="output1" file="result1.pdf" compare="sim_size"/>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
257 </test>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
258 <test>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
259 <param name="input1" value="mtcars.txt"/>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
260 <param name="cluster" value="no"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
261 <param name="image_file_format" value="png"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
262 <output name="output1" file="result2.png" compare="sim_size"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
263 </test>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
264 <test>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
265 <param name="input1" value="mtcars.txt"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
266 <param name="zscore" value="cols"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
267 <param name="cluster" value="yes"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
268 <param name="cluster_cols_rows" value="row"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
269 <param name="labels" value="rows"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
270 <param name="type" value="three"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
271 <param name="image_file_format" value="png"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
272 <output name="output1" file="result3.png" compare="sim_size"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
273 </test>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
274 <test>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
275 <param name="input1" value="mtcars.txt"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
276 <param name="cluster" value="yes"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
277 <param name="distance" value="pearson_correlation"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
278 <param name="type" value="two"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
279 <output name="output1" file="result1pearson.pdf" compare="sim_size"/>
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
280 </test>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
281 </tests>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
282 <help><![CDATA[
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
283 This tool employs the heatmap.2 function from the R gplots package and will generate a heatmap of your data. If clustering is enabled, the heatmap uses the Euclidean distance method and the Complete hierarchical clustering method by default.
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
284
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
285 Input data should have row labels in the first column and column labels. For example, the row labels (the first column) should represent gene IDs and the column labels should represent sample IDs.
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
286 ]]></help>
2
c6bfec911a41 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 1
diff changeset
287 <citations>
c6bfec911a41 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 1
diff changeset
288 </citations>
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
289 </tool>