Browse code

Update BSseq_class.R

Kasper Daniel Hansen authored on 10/04/2018 07:02:01 • GitHub committed on 10/04/2018 07:02:01
Showing 1 changed files

... ...
@@ -120,7 +120,7 @@ BSseq <- function(M = NULL, Cov = NULL, coef = NULL, se.coef = NULL,
120 120
     }
121 121
     if(!is(gr, "GRanges"))
122 122
         stop("'gr' needs to be a GRanges")
123
-    if(any(width(gr)) != 1)
123
+    if(any(width(gr) != 1))
124 124
         stop("'gr' needs to have widths of 1")
125 125
     if(is.null(M) || is.null(Cov))
126 126
         stop("Need M and Cov")