changeset 8:84935e121609 draft

Uploaded
author moheydarian
date Tue, 14 Mar 2017 14:41:36 -0400
parents 51c11061dd44
children 568d2153f910
files heatmap2.R
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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()