Mercurial > repos > iuc > ggplot2_heatmap2
annotate heatmap2.xml @ 5:f4899d509faa 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:08 +0000 |
| parents | b718455b9541 |
| children | 0a2a2e19bf2d |
| rev | line source |
|---|---|
|
4
b718455b9541
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
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
2 <macros> |
|
5
f4899d509faa
"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
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
4 </macros> |
|
2
672eb1c4314c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents:
1
diff
changeset
|
5 <requirements> |
|
4
b718455b9541
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
f4899d509faa
"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
672eb1c4314c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents:
1
diff
changeset
|
8 </requirements> |
|
0
176183828671
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[ |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
10 cat '$script' && |
|
4
b718455b9541
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
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
12 ]]></command> |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
13 <configfiles> |
|
176183828671
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
b718455b9541
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 |
|
b718455b9541
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
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
17 |
|
4
b718455b9541
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 |
|
b718455b9541
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
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
20 |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
21 ## Import library |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
22 library("RColorBrewer") |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
23 library("gplots") |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
24 |
|
176183828671
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) |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
26 |
|
176183828671
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)]) |
|
176183828671
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] |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
29 |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
30 #if $transform == "none" |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
31 linput <- mat_input |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
32 #elif $transform == "log2" |
|
176183828671
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) |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
34 #elif $transform == "log2plus1" |
|
176183828671
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) |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
36 #elif $transform == "log10" |
|
176183828671
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) |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
38 #elif $transform == "log10plus1" |
|
176183828671
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) |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
40 #end if |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
41 |
|
5
f4899d509faa
"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": |
|
f4899d509faa
"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)) |
|
f4899d509faa
"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) |
|
f4899d509faa
"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] |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
46 scale <- "none" |
|
f4899d509faa
"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": |
|
f4899d509faa
"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) |
|
f4899d509faa
"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] |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
50 scale <- "none" |
|
f4899d509faa
"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": |
|
f4899d509faa
"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
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
53 #end if |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
54 |
|
5
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
55 srtCol <- 45 |
|
f4899d509faa
"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" |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
57 rlabs <- NULL |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
58 clabs <- NULL |
|
f4899d509faa
"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" |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
60 rlabs <- NULL |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
61 clabs <- FALSE |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
62 srtCol <- NULL |
|
f4899d509faa
"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" |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
64 rlabs <- FALSE |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
65 clabs <- NULL |
|
f4899d509faa
"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" |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
67 rlabs <- FALSE |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
68 clabs <- FALSE |
|
f4899d509faa
"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
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
70 #end if |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
71 |
|
5
f4899d509faa
"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": |
|
f4899d509faa
"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" |
|
f4899d509faa
"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" |
|
f4899d509faa
"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 |
|
f4899d509faa
"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 |
|
f4899d509faa
"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" |
|
f4899d509faa
"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 |
|
f4899d509faa
"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 |
|
f4899d509faa
"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" |
|
f4899d509faa
"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 |
|
f4899d509faa
"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 |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
83 #end if |
|
f4899d509faa
"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') |
|
f4899d509faa
"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': |
|
f4899d509faa
"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))) |
|
f4899d509faa
"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': |
|
f4899d509faa
"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")) |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
89 #else: |
|
f4899d509faa
"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') |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
91 #end if |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
92 #else: |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
93 dendrogramtoplot <- "none" |
|
f4899d509faa
"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 |
|
f4899d509faa
"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 |
|
f4899d509faa
"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 |
|
f4899d509faa
"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 |
|
f4899d509faa
"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
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
99 |
|
5
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
100 ncolors <- 50 |
|
f4899d509faa
"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": |
|
f4899d509faa
"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") |
|
f4899d509faa
"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" |
|
f4899d509faa
"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) |
|
f4899d509faa
"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" |
|
f4899d509faa
"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
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
107 #end if |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
108 |
|
5
f4899d509faa
"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": |
|
f4899d509faa
"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') |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
111 #else: |
|
f4899d509faa
"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') |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
113 #end if |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
114 |
|
f4899d509faa
"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, |
|
f4899d509faa
"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, |
|
f4899d509faa
"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), |
|
f4899d509faa
"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) |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
119 |
|
0
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
120 dev.off() |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
121 ]]></configfile> |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
122 </configfiles> |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
123 |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
124 <inputs> |
|
5
f4899d509faa
"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" |
|
f4899d509faa
"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
b718455b9541
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"/> |
|
b718455b9541
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"/> |
|
b718455b9541
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"> |
|
b718455b9541
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> |
|
b718455b9541
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> |
|
b718455b9541
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> |
|
b718455b9541
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> |
|
b718455b9541
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> |
|
b718455b9541
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents:
3
diff
changeset
|
135 </param> |
|
5
f4899d509faa
"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"> |
|
f4899d509faa
"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"> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
141 </param> |
|
f4899d509faa
"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"> |
|
f4899d509faa
"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)" > |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
147 </param> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
148 </when> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
151 </conditional> |
|
4
b718455b9541
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"> |
|
b718455b9541
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
f4899d509faa
"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> |
|
f4899d509faa
"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
b718455b9541
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents:
3
diff
changeset
|
156 </param> |
|
5
f4899d509faa
"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
b718455b9541
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"> |
|
b718455b9541
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
f4899d509faa
"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> |
|
f4899d509faa
"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
b718455b9541
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents:
3
diff
changeset
|
162 </param> |
|
b718455b9541
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" > |
|
b718455b9541
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> |
|
b718455b9541
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
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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
b718455b9541
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents:
3
diff
changeset
|
172 </param> |
|
b718455b9541
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" > |
|
b718455b9541
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
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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
b718455b9541
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents:
3
diff
changeset
|
182 </param> |
|
b718455b9541
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents:
3
diff
changeset
|
183 </when> |
|
5
f4899d509faa
"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
b718455b9541
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents:
3
diff
changeset
|
185 </conditional> |
|
0
176183828671
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
b718455b9541
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
176183828671
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> |
|
176183828671
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> |
|
176183828671
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> |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
191 </param> |
|
5
f4899d509faa
"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"> |
|
f4899d509faa
"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"> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
197 </param> |
|
f4899d509faa
"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"> |
|
f4899d509faa
"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"> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
227 </param> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
228 </when> |
|
f4899d509faa
"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"> |
|
f4899d509faa
"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" /> |
|
f4899d509faa
"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" /> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
232 </when> |
|
f4899d509faa
"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"> |
|
f4899d509faa
"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" /> |
|
f4899d509faa
"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" /> |
|
f4899d509faa
"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" /> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
237 </when> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
238 </conditional> |
|
f4899d509faa
"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"> |
|
f4899d509faa
"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> |
|
f4899d509faa
"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
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
242 </param> |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
243 </inputs> |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
244 <outputs> |
|
5
f4899d509faa
"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"> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
246 <change_format> |
|
f4899d509faa
"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" /> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
248 </change_format> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
249 </data> |
|
0
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
250 </outputs> |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
251 <tests> |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
252 <test> |
|
176183828671
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
f4899d509faa
"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"/> |
|
f4899d509faa
"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
b718455b9541
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"/> |
|
b718455b9541
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents:
3
diff
changeset
|
257 </test> |
|
b718455b9541
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit e7b5919a8e06595b23e8fc31b975fc508f5081b3
iuc
parents:
3
diff
changeset
|
258 <test> |
|
b718455b9541
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
f4899d509faa
"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"/> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
263 </test> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
264 <test> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
273 </test> |
|
f4899d509faa
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/heatmap2 commit b04b237daba99e6992b27d1b65524744feb07d7d"
iuc
parents:
4
diff
changeset
|
274 <test> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"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"/> |
|
f4899d509faa
"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
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
280 </test> |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
281 </tests> |
|
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
282 <help><![CDATA[ |
|
4
b718455b9541
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
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
284 |
|
4
b718455b9541
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
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
286 ]]></help> |
|
2
672eb1c4314c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents:
1
diff
changeset
|
287 <citations> |
|
672eb1c4314c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit f9fb73a88ab8b52ce11c25a966d4fe99e67c9fbf
iuc
parents:
1
diff
changeset
|
288 </citations> |
|
0
176183828671
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ggplot2 commit 6e466ce83e2e5c0dd0ba30356d0488cf74574b8f
iuc
parents:
diff
changeset
|
289 </tool> |
