# HG changeset patch # User moheydarian # Date 1493319707 14400 # Node ID b9cb6b047ff88d4cc629af52d887365b1eb83223 # Parent 43f627dc005e1e97657816f764bbe0d1638cb2e2 Uploaded diff -r 43f627dc005e -r b9cb6b047ff8 heatmap2.R --- 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()