Mercurial > repos > earlhaminst > plotheatmap
annotate script.R @ 0:bd8fd161908b draft default tip
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
author | earlhaminst |
---|---|
date | Wed, 12 Jul 2017 14:29:51 -0400 |
parents | |
children |
rev | line source |
---|---|
0
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
1 #!/usr/bin/env Rscript |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
2 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
3 args = commandArgs(TRUE) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
4 countDataPath = args[1] |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
5 statsDataPath = args[2] |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
6 logFC = args[3] |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
7 logCPM = args[4] |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
8 pValue = args[5] |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
9 fdr = args[6] |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
10 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
11 clusterRow = args[7] |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
12 clusterCol = args[8] |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
13 hclustMethod = args[9] |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
14 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
15 mgColumnNm = as.numeric(args[10]) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
16 mgRowNm = as.numeric(args[11]) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
17 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
18 pdfWidth = as.numeric(args[12]) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
19 pdfHeight = as.numeric(args[13]) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
20 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
21 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
22 if(clusterRow == "Yes"){ |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
23 clusterRow = TRUE |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
24 } else { |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
25 clusterRow = NA |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
26 } |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
27 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
28 if(clusterCol == "Yes"){ |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
29 clusterCol = TRUE |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
30 } else { |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
31 clusterCol = NA |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
32 } |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
33 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
34 require(preprocessCore) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
35 require(gplots) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
36 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
37 #prepare counts data -------------------------------------------------------- |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
38 countData = read.table(countDataPath, comment = "", |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
39 sep = "\t") |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
40 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
41 groups = sapply(as.character(countData[1, -1]), strsplit, ":") |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
42 groups = as.vector(t(countData[1, -1])) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
43 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
44 names = as.vector(t(countData[2, -1])) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
45 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
46 countData = countData[-c(1,2), ] |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
47 rownames(countData) = countData[, 1] |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
48 countData = countData[, -1] |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
49 colnames(countData) = names |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
50 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
51 countData = countData[, order(groups, names)] |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
52 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
53 # prepare stats data ------------------------------------------------------ |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
54 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
55 statsData = read.table(statsDataPath, sep = "\t", |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
56 header = T) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
57 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
58 colnames(statsData)[-1] = sapply(colnames(statsData)[-1], function(x){ |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
59 unlist(strsplit(x, ".", fixed = T))[3] |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
60 }) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
61 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
62 wh = which(abs(statsData$logFC) >= logFC & statsData$logCPM >= logCPM & statsData$PValue <= pValue & statsData$FDR <= fdr) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
63 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
64 for(i in 1:ncol(countData)){ |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
65 countData[,i] = as.numeric(countData[,i]) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
66 } |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
67 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
68 countDataNorm = normalize.quantiles(as.matrix(countData), copy = T) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
69 countDataNormLog = log(countDataNorm + 1, 2) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
70 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
71 colnames(countDataNormLog) = colnames(countData) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
72 rownames(countDataNormLog) = rownames(countData) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
73 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
74 #svg("heatmap.svg", width = 3+length(names), height = 1/2*length(wh)) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
75 pdf("heatmap.pdf", width = pdfWidth, height = pdfHeight) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
76 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
77 heatmap.2( |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
78 countDataNormLog[wh, ], |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
79 density.info=c("none"), |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
80 hclustfun = function(x) hclust(x, method = hclustMethod), |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
81 distfun = function(x) as.dist(1-cor(t(x))), |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
82 col = bluered(50), |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
83 scale = "row", |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
84 trace = "none", |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
85 Rowv = clusterRow, |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
86 Colv = clusterCol, |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
87 margins = c(mgColumnNm, mgRowNm) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
88 ) |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
89 |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
90 dev.off() |
bd8fd161908b
planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/plotheatmap commit 7e9d6b283879b45d5fe673767668c06104d31609-dirty
earlhaminst
parents:
diff
changeset
|
91 |