changeset 38:f5b242a5337f draft

Uploaded
author davidvanzessen
date Fri, 11 Sep 2015 08:31:59 -0400
parents 623bbe972363
children 9fdcf6bfe024
files RScript.r
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/RScript.r	Fri Sep 11 08:26:18 2015 -0400
+++ b/RScript.r	Fri Sep 11 08:31:59 2015 -0400
@@ -317,7 +317,7 @@
       if(nrow(scatterplot_locus_data) != 0){
         if(on == "normalized_read_count"){
           scales = 10^(0:6) #(0:ceiling(log10(max(scatterplot_locus_data$normalized_read_count))))
-          p = ggplot(scatterplot_locus_data, aes(type, normalized_read_count)) + scale_y_log10(breaks=scales,labels=scales)
+          p = ggplot(scatterplot_locus_data, aes(type, normalized_read_count)) + scale_y_log10(breaks=scales,labels=scales) + expand_limits(y=10^6)
         } else {
           p = ggplot(scatterplot_locus_data, aes(type, Frequency)) + scale_y_continuous(limits = c(0, 100)) + expand_limits(y=c(0,100))
         }