[Bioc-devel] Bug in GenomicRanges:::compare

Martin Morgan mtmorgan at fhcrc.org
Mon Oct 6 19:23:51 CEST 2014


Thanks Pete this is fixed in 1.17.46. Martin

On 10/05/2014 04:25 PM, Peter Hickey wrote:
> 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 inte...{{dropped:14}}



More information about the Bioc-devel mailing list