Mercurial > repos > moheydarian > ggplot_histogram
comparison ggplotscripthistogram.R @ 12:ed06f51b00ef draft
Uploaded
| author | moheydarian |
|---|---|
| date | Sun, 12 Mar 2017 20:30:21 -0400 |
| parents | 79c3ce7cc6c4 |
| children | 19546f3ef70a |
comparison
equal
deleted
inserted
replaced
| 11:79c3ce7cc6c4 | 12:ed06f51b00ef |
|---|---|
| 59 input <- melt(integrated) | 59 input <- melt(integrated) |
| 60 | 60 |
| 61 #Show/hide legend | 61 #Show/hide legend |
| 62 if(options$legend == "yes"){ | 62 if(options$legend == "yes"){ |
| 63 gg_legend = NULL | 63 gg_legend = NULL |
| 64 } else {options$legend == "no" | 64 } else { |
| 65 gg_legend = theme(legend.position="none") | 65 gg_legend = theme(legend.position="none") |
| 66 } | 66 } |
| 67 | 67 |
| 68 #Choose between automatically scaled x and y axis or user defined | 68 #Choose between automatically scaled x and y axis or user defined |
| 69 if(options$scaling == "Automatic"){ | 69 if(options$scaling == "Automatic"){ |
