# HG changeset patch # User moheydarian # Date 1489516896 14400 # Node ID 84935e121609a568a77320b2843adc9b2320df55 # Parent 51c11061dd449395f579c236f3d26178716d8df1 Uploaded diff -r 51c11061dd44 -r 84935e121609 heatmap2.R --- a/heatmap2.R Tue Mar 14 14:27:18 2017 -0400 +++ b/heatmap2.R Tue Mar 14 14:41:36 2017 -0400 @@ -18,9 +18,9 @@ # we read the options from the default: commandArgs(TRUE). option_specification = matrix(c( 'input', 'i', 2, 'character', - 'title', 't',2, 'character', + 'title', 't', 2, 'character', 'transform', 'c', 2, 'character', - 'keylabel', 'k',2, 'character', + 'key', 'k', 2, 'character', 'output', 'o', 2, 'character' ), byrow=TRUE, ncol=4); @@ -62,5 +62,5 @@ heatmap.2(linput, distfun=dist_fun, hclustfun=hclust_fun, scale = "none", col=colfunc(50), trace="none", density.info = "none",labRow=FALSE, margins=c(8,2), - main = options$title, key.xlab= options$keylabel, keysize=1) + main = options$title, key.xlab= options$key, keysize=1) dev.off()