Mercurial > repos > artbio > high_dim_heatmap
annotate heatmap.xml @ 1:58b36ae7baca draft
"planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 7c990ad7024035342c4abd6e3fa8feb1b2f2ac2c"
author | artbio |
---|---|
date | Thu, 22 Oct 2020 21:47:10 +0000 |
parents | 22d5d811dc37 |
children | 17f627ee8f5a |
rev | line source |
---|---|
1
58b36ae7baca
"planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 7c990ad7024035342c4abd6e3fa8feb1b2f2ac2c"
artbio
parents:
0
diff
changeset
|
1 <tool id="high_dim_heatmap" name="Plot heatmap" version="1.1.0"> |
0
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
2 <description>with high number of rows</description> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
3 <requirements> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
4 <requirement type="package" version="3.0.1">r-gplots</requirement> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
5 <requirement type="package" version="1.1_2">r-rcolorbrewer</requirement> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
6 </requirements> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
8 cat '$script' && |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
9 Rscript '$script' |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
10 ]]></command> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
11 <configfiles> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
12 <configfile name="script"><![CDATA[ |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
13 ## Setup R error handling to go to stderr |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
14 options(show.error.messages=F, error=function(){cat(geterrmessage(), file=stderr()); q("no",1,F)}) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
15 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
16 ## Unify locale settings |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
17 loc <- Sys.setlocale("LC_MESSAGES", "en_US.UTF-8") |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
18 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
19 ## Import library |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
20 library("RColorBrewer") |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
21 library("gplots") |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
22 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
23 input <- read.delim('$input1', sep='\t', header=TRUE) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
24 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
25 mat_input <- data.matrix(input[,2:ncol(input)]) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
26 rownames(mat_input) <- input[,1] |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
27 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
28 #if $transform == "none" |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
29 linput <- mat_input |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
30 #elif $transform == "log2" |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
31 linput <- log2(mat_input) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
32 #elif $transform == "log2plus1" |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
33 linput <- log2(mat_input+1) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
34 #elif $transform == "log10" |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
35 linput <- log10(mat_input) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
36 #elif $transform == "log10plus1" |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
37 linput <- log10(mat_input+1) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
38 #end if |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
39 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
40 #if $colorscheme == "whrd" |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
41 colorscale = colfunc <- colorRampPalette(c("white", "red")) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
42 #elif $colorscheme == "whblu" |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
43 colorscale = colfunc <- colorRampPalette(c("white", "blue")) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
44 #elif $colorscheme == "blwhre" |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
45 colorscale = colfunc <- colorRampPalette(c("blue","white", "red")) |
1
58b36ae7baca
"planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 7c990ad7024035342c4abd6e3fa8feb1b2f2ac2c"
artbio
parents:
0
diff
changeset
|
46 #elif $colorscheme == "yeblu" |
58b36ae7baca
"planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 7c990ad7024035342c4abd6e3fa8feb1b2f2ac2c"
artbio
parents:
0
diff
changeset
|
47 colorscale = colfunc <- colorRampPalette(c("lightyellow", "royalblue4")) |
0
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
48 #end if |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
49 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
50 #if $labels== "both" |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
51 rlabs = NULL |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
52 clabs = NULL |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
53 #elif $labels== "rows" |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
54 rlabs = NULL |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
55 clabs = FALSE |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
56 #elif $labels== "columns" |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
57 rlabs = FALSE |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
58 clabs = NULL |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
59 #elif $labels== "none" |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
60 rlabs = FALSE |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
61 clabs = FALSE |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
62 #end if |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
63 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
64 pdf(file='$output1', paper='special', height=$height) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
65 colorscale |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
66 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
67 #if $cluster_cond.cluster: |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
68 hclust_fun = function(x) hclust(x, method='$cluster_cond.clustering') |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
69 dist_fun = function(x) dist(x, method='$cluster_cond.distance') |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
70 #if $cluster_cond.cluster_cols_rows=="rows": |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
71 heatmap.2(linput, dendrogram="row", Colv=FALSE, Rowv=TRUE, |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
72 distfun=dist_fun, hclustfun=hclust_fun, scale = '$scale', labRow = rlabs, labCol = clabs, |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
73 col=colfunc(50), trace="none", density.info = "none", margins=c(8,8), |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
74 main = '$title', key.xlab='$key', keysize=1, cexCol=0.8, cexRow = $rowfontsize, srtCol=45, |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
75 lhei=c(1, $lineheight)) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
76 #elif $cluster_cond.cluster_cols_rows=="columns": |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
77 heatmap.2(linput, dendrogram="column", Colv=TRUE, Rowv=FALSE, |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
78 distfun=dist_fun, hclustfun=hclust_fun, scale = '$scale', labRow = rlabs, labCol = clabs, |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
79 col=colfunc(50), trace="none", density.info = "none", margins=c(8,8), |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
80 main = '$title', key.xlab='$key', keysize=1, cexCol=0.8, cexRow = $rowfontsize, srtCol=45, |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
81 lhei=c(1, $lineheight)) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
82 #else |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
83 heatmap.2(linput, |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
84 distfun=dist_fun, hclustfun=hclust_fun, scale = '$scale', labRow = rlabs, labCol = clabs, |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
85 col=colfunc(50), trace="none", density.info = "none", margins=c(8,8), |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
86 main = '$title', key.xlab='$key', keysize=1, cexCol=0.8, cexRow = $rowfontsize, srtCol=45, |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
87 lhei=c(1, $lineheight)) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
88 #end if |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
89 #else |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
90 heatmap.2(linput, |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
91 dendrogram="none", Colv=FALSE, Rowv=FALSE, scale = '$scale', labRow = rlabs, labCol = clabs, |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
92 col=colfunc(50), trace="none", density.info = "none", margins=c(8,8), |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
93 main='$title', key.xlab='$key', keysize=1, cexCol=0.8, cexRow = $rowfontsize, srtCol=45, |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
94 lhei=c(1, $lineheight)) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
95 #end if |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
96 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
97 dev.off() |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
98 ]]></configfile> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
99 </configfiles> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
100 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
101 <inputs> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
102 <param name="input1" type="data" format="tabular" label="Input should have column headers - these will be the columns that are plotted"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
103 <param name="title" type="text" format="txt" label="Plot title"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
104 <param name="key" type="text" format="txt" label="key title"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
105 <param name="transform" type="select" label="Data transformation"> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
106 <option value="none">Plot the data as it is</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
107 <option value="log2">Log2(value) transform my data</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
108 <option value="log2plus1">Log2(value+1) transform my data</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
109 <option value="log10">Log10(value) transform my data</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
110 <option value="log10plus1">Log10(value+1) transform my data</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
111 </param> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
112 <conditional name="cluster_cond"> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
113 <param name="cluster" type="select" label="Enable data clustering"> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
114 <option value="true">Yes</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
115 <option value="">No</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
116 </param> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
117 <when value="true"> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
118 <param name="cluster_cols_rows" type="select" label="Clustering columns and rows"> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
119 <option value="both" selected="true">Cluster rows and columns</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
120 <option value="rows">Cluster rows and not columns</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
121 <option value="columns">Cluster columns and not rows</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
122 </param> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
123 <param name="distance" type="select" label="Distance method" help="The method used to compute the distance (dissimilarity) between both rows and columns. Default: Euclidean" > |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
124 <option value="euclidean" selected="true">Euclidean</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
125 <option value="maximum">Maximum</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
126 </param> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
127 <param name="clustering" type="select" label="Clustering method" help="The method used to compute the hierarchical clustering. Default: Complete" > |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
128 <option value="complete" selected="true">Complete</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
129 <option value="average">Average</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
130 </param> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
131 </when> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
132 <when value=""/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
133 </conditional> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
134 <param name="labels" type="select" label="Labeling columns and rows" > |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
135 <option value="both" selected="true">Label my columns and rows</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
136 <option value="rows">Label rows and not columns</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
137 <option value="columns">Label columns and not rows</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
138 <option value="none">Do not label rows or columns</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
139 </param> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
140 <param name="colorscheme" type="select" label="Coloring groups" > |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
141 <option value="whrd" selected="true">White to red</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
142 <option value="whblu">White to blue</option> |
1
58b36ae7baca
"planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 7c990ad7024035342c4abd6e3fa8feb1b2f2ac2c"
artbio
parents:
0
diff
changeset
|
143 <option value="yeblu">Yellow to blue</option> |
0
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
144 <option value="blwhre">Blue to white to red</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
145 </param> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
146 <param name="scale" type="select" label="Data scaling" > |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
147 <option value="none" selected="true">Do not scale my data</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
148 <option value="row">Scale my data by row</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
149 <option value="column">Scale my data by column</option> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
150 </param> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
151 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
152 <param name="height" type="float" label="tweak plot height" value="7" /> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
153 <param name="rowfontsize" type="float" label="tweak row label size" value="0.8" /> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
154 <param name="lineheight" type="integer" label="tweak line height" value="4" /> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
155 </inputs> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
156 <outputs> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
157 <data name="output1" format="pdf"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
158 </outputs> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
159 <tests> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
160 <test> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
161 <param name="input1" value="mtcars.txt"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
162 <param name="cluster" value="true"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
163 <output name="output1" file="result1.pdf"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
164 </test> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
165 <test> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
166 <param name="input1" value="mtcars.txt"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
167 <param name="cluster" value=""/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
168 <output name="output1" file="result2.pdf"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
169 </test> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
170 <test> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
171 <param name="input1" value="complex_table.tsv"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
172 <param name="transform" value="log2plus1"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
173 <param name="cluster" value=""/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
174 <param name="colorscheme" value="blwhre"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
175 <param name="height" value="21"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
176 <param name="rowfontsize" value="0.4"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
177 <param name="lineheight" value="15"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
178 <output name="output1" file="complex_result1.pdf"/> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
179 </test> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
180 </tests> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
181 <help><![CDATA[ |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
182 This tool employs the heatmap.2 function from the R gplots package and will generate a |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
183 heatmap of your data. If clustering is enabled, the heatmap uses the Euclidean distance |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
184 method and the Complete hierarchical clustering method by default. |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
185 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
186 Input data should have row labels in the first column and column labels. For example, |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
187 the row labels (the first column) should represent gene IDs and the column labels should |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
188 represent sample IDs. |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
189 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
190 To adapt heatmap.2 to high number of lines, tweak the parameters: |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
191 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
192 - `tweak plot height`. By default 7 (inches), this can be increased to 14, 21, 28, etc.. |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
193 - `tweak row label size`. By default 0.8. This is usually diminished to 0.3, 0.1, etc to |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
194 adapt the label font to high number of rows |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
195 - `tweak line height`. By default 4. This is a metric to define the relative size of the |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
196 heatmap panel in the plot layout. This is a bit tricky to adjust, but should be adapted |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
197 when plot height is increased (typically to 8, 10, 15, etc...) |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
198 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
199 For instance, upload the dataset |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
200 https://raw.githubusercontent.com/ARTbio/tools-artbio/master/tools/high_dim_heatmap/test-data/complex_table.tsv |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
201 to your account and test this tools with: |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
202 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
203 - `tweak plot height` : 21.0 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
204 - `tweak row label size`: 0.4 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
205 - `tweak line height`: 14 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
206 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
207 |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
208 ]]></help> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
209 <citations> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
210 </citations> |
22d5d811dc37
planemo upload for repository https://github.com/artbio/tools-artbio/tree/master/tools/high_dim_heatmap commit 3839913fd15008dd999f2da10dcb6797ddb8dbdc
artbio
parents:
diff
changeset
|
211 </tool> |