From b6a1405c259e28cf229a04a959886bb2a86d6f3b Mon Sep 17 00:00:00 2001
From: Luke Zappia <lazappi@users.noreply.github.com>
Date: Tue, 20 Aug 2019 16:39:21 +1000
Subject: [PATCH] Fix bug in diffSCEs QQ plots

---
 R/compare.R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/R/compare.R b/R/compare.R
index 07bd63b..dba07d3 100644
--- a/R/compare.R
+++ b/R/compare.R
@@ -508,7 +508,7 @@ diffSCEs <- function(sces, ref, point.size = 0.1, point.alpha = 0.1,
         theme_minimal()
 
     libs.qq <- ggplot(cells,
-                      aes_string(x = "RefRankLibSize", y = "total_counts",
+                      aes_string(x = "RefRankLibSize", y = "sum",
                                  colour = "Dataset")) +
         geom_abline(intercept = 0, slope = 1, colour = "red") +
         geom_point(size = point.size, alpha = point.alpha) +
-- 
GitLab