[Bioc-devel] Bug in GenomicRanges:::compare
Peter Hickey
hickey at wehi.EDU.AU
Mon Oct 6 01:25:08 CEST 2014
Hi Martin,
The last element of 'x' is never accessed in a call to the internal function GenomicRanges:::.compare when 'GenomicRanges = TRUE'. The attached patch fixes this.
Cheers,
Pete
===================================================================
--- R/SummarizedExperiment-class.R (revision 94987)
+++ R/SummarizedExperiment-class.R (working copy)
@@ -635,7 +635,7 @@
x <- lapply(x, unlist)
x1 <- x[[1]]
}
- for (i in seq_along(x[-1])) {
+ for (i in seq_along(x)[-1]) {
if (length(x1) != length(x[[i]]))
return(FALSE)
ok <- x1 == x[[i]]
______________________________________________________________________
The information in this email is confidential and intend...{{dropped:6}}
More information about the Bioc-devel
mailing list