comparison ggplotscripthistogram.R @ 9:90be6d1315a4 draft

Uploaded
author moheydarian
date Sun, 12 Mar 2017 20:04:14 -0400
parents 097e19ec0150
children 79c3ce7cc6c4
comparison
equal deleted inserted replaced
8:a5969083902c 9:90be6d1315a4
56 cat("\n output: ",options$output) 56 cat("\n output: ",options$output)
57 57
58 integrated <- read.csv(options$input,sep='\t',header=TRUE) 58 integrated <- read.csv(options$input,sep='\t',header=TRUE)
59 input <- melt(integrated) 59 input <- melt(integrated)
60 60
61 gg_legend = show.legend=options$legend 61 #Show/hide legend
62 if(options$legend == "TRUE"){
63 gg_legend = NULL
64 } else {options$legend == "FALSE"
65 gg_legend = theme(legend.position="none")
66 }
62 67
63 #Choose between automatically scaled x and y axis or user defined 68 #Choose between automatically scaled x and y axis or user defined
64 if(options$scaling == "Automatic"){ 69 if(options$scaling == "Automatic"){
65 gg_scalex = NULL 70 gg_scalex = NULL
66 gg_scaley = NULL 71 gg_scaley = NULL