Mercurial > repos > moheydarian > heatmap2
changeset 26:b9cb6b047ff8 draft
Uploaded
author | moheydarian |
---|---|
date | Thu, 27 Apr 2017 15:01:47 -0400 |
parents | 43f627dc005e |
children | 58d77ddee097 |
files | heatmap2.R |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/heatmap2.R Thu Apr 27 14:54:06 2017 -0400 +++ b/heatmap2.R Thu Apr 27 15:01:47 2017 -0400 @@ -83,13 +83,13 @@ clabs = NULL }else if(options$labels== "rows"){ rlabs = NULL - clabs = labCol=FALSE + clabs = FALSE }else if(options$labels== "columns"){ - rlabs = labRow=FALSE + rlabs = FALSE clabs = NULL }else if(options$labels== "none"){ - rlabs = labRow=FALSE - clabs = labCol=FALSE + rlabs = FALSE + clabs = FALSE } else{ } @@ -99,7 +99,7 @@ pdf(file="Rplot.pdf") colorscale heatmap.2(linput, - dclust, hclust, dend, scale = options$scale, rlabs, clabs, + dclust, hclust, dend, scale = options$scale, labRow = rlabs, labCol = clabs, col=colfunc(50), trace="none", density.info = "none", margins=c(8,2), main = options$title, key.xlab= options$key, keysize=1) dev.off()