annotate heatmap2.xml @ 6:566197475670 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
author iuc
date Wed, 13 Apr 2022 09:34:26 +0000
parents 3b37b1b1c3a7
children 53460afd5115
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
1 <tool id="ggplot2_heatmap2" name="heatmap2" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
2 <macros>
6
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
3 <token name="@TOOL_VERSION@">3.1.1</token>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
4 <token name="@VERSION_SUFFIX@">1</token>
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
5 </macros>
2
c6bfec911a41 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 1
diff changeset
6 <requirements>
6
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
7 <requirement type="package" version="@TOOL_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
8 <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
9 </requirements>
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
10 <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
11 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
12 Rscript '$script'
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
13 ]]></command>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
14 <configfiles>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
15 <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
16 ## 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
17 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
18
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
19 ## 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
20 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
21
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
22 ## Import library
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
23 library("RColorBrewer")
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
24 library("gplots")
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
25
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
26 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
27
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
28 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
29 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
30
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
31 #if $transform == "none"
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
32 linput <- mat_input
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
33 #elif $transform == "log2"
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
34 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
35 #elif $transform == "log2plus1"
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
36 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
37 #elif $transform == "log10"
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
38 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
39 #elif $transform == "log10plus1"
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
40 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
41 #end if
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
42
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
43 #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
44 linput <- t(apply(linput, 1, scale))
6
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
45 colnames(linput) <- colnames(input)[2:ncol(input)]
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
46 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
47 scale <- "none"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
48 #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
49 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
50 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
51 scale <- "none"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
52 #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
53 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
54 #end if
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
55
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
56 srtCol <- 45
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
57 #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
58 rlabs <- NULL
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
59 clabs <- NULL
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
60 #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
61 rlabs <- NULL
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
62 clabs <- FALSE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
63 srtCol <- NULL
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
64 #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
65 rlabs <- FALSE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
66 clabs <- NULL
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
67 #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
68 rlabs <- FALSE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
69 clabs <- FALSE
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
70 srtCol <- NULL
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
71 #end if
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
72
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
73 #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
74 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
75 #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
76 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
77 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
78 #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
79 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
80 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
81 #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
82 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
83 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
84 #end if
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
85 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
86 #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
87 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
88 #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
89 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
90 #else:
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
91 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
92 #end if
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
93 #else:
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
94 dendrogramtoplot <- "none"
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
95 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
96 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
97 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
98 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
99 #end if
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
100
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
101 ncolors <- 50
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
102 #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
103 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
104 #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
105 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
106 #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
107 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
108 #end if
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
109
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
110 #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
111 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
112 #else:
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
113 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
114 #end if
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
115
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
116 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
117 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
118 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
119 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
120
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
121 dev.off()
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
122 ]]></configfile>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
123 </configfiles>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
124
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
125 <inputs>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
126 <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
127 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
128 <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
129 <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
130 <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
131 <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
132 <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
133 <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
134 <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
135 <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
136 </param>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
137 <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
138 <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
139 <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
140 <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
141 <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
142 </param>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
143 <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
144 <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
145 <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
146 <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
147 <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
148 </param>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
149 </when>
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="rows"/>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
151 <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
152 </conditional>
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
153 <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
154 <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
155 <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
156 <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
157 </param>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
158 <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
159 <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
160 <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
161 <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
162 <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
163 </param>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
164 <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
165 <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
166 <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
167 <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
168 <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
169 <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
170 <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
171 <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
172 <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
173 </param>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
174 <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
175 <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
176 <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
177 <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
178 <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
179 <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
180 <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
181 <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
182 <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
183 </param>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
184 </when>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
185 <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
186 </conditional>
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
187 <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
188 <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
189 <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
190 <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
191 <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
192 </param>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
193 <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
194 <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
195 <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
196 <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
197 <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
198 </param>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
199 <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
200 <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
201 <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
202 <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
203 <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
204 <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
205 <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
206 <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
207 <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
208 <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
209 <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
210 <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
211 <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
212 <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
213 <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
214 <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
215 <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
216 <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
217 <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
218 <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
219 <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
220 <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
221 <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
222 <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
223 <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
224 <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
225 <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
226 <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
227 <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
228 </param>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
229 </when>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
230 <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
231 <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
232 <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
233 </when>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
234 <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
235 <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
236 <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
237 <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
238 </when>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
239 </conditional>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
240 <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
241 <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
242 <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
243 </param>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
244 </inputs>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
245 <outputs>
5
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
246 <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
247 <change_format>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
248 <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
249 </change_format>
3b37b1b1c3a7 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents: 4
diff changeset
250 </data>
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
251 </outputs>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
252 <tests>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
253 <test>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
254 <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
255 <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
256 <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
257 <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
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 <test>
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
260 <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
261 <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
262 <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
263 <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
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 <test>
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="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
267 <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
268 <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
269 <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
270 <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
271 <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
272 <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
273 <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
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 <test>
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="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
277 <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
278 <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
279 <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
280 <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
281 </test>
6
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
282 <test>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
283 <param name="input1" value="mtcars.txt"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
284 <param name="zscore" value="rows"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
285 <param name="type" value="three"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
286 <param name="image_file_format" value="png"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
287 <output name="output1" file="result4.png" compare="sim_size"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
288 </test>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
289 <test>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
290 <param name="input1" value="mtcars.txt"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
291 <param name="cluster" value="yes"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
292 <param name="distance" value="pearson_correlation"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
293 <param name="scale" value="row"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
294 <param name="type" value="three"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
295 <param name="image_file_format" value="png"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
296 <output name="output1" file="result5.png" compare="sim_size"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
297 </test>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
298 <test>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
299 <param name="input1" value="mtcars.txt"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
300 <param name="cluster" value="yes"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
301 <param name="distance" value="spearmann_correlation"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
302 <param name="scale" value="column"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
303 <param name="type" value="three"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
304 <param name="image_file_format" value="png"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
305 <output name="output1" file="result6.png" compare="sim_size"/>
566197475670 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit 4f9970932fa3521656d5618582ba5df4173ca66c"
iuc
parents: 5
diff changeset
306 </test>
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
307 </tests>
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
308 <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
309 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
310
4
ca7cb0eaad62 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents: 3
diff changeset
311 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
312 ]]></help>
2
c6bfec911a41 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 1
diff changeset
313 <citations>
c6bfec911a41 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents: 1
diff changeset
314 </citations>
0
76380bf74511 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff changeset
315 </tool>