... | ... |
@@ -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") |