[Bioc-devel] split on IRanges semantic change 3.3->3.4
lawrence.michael at gene.com
Mon Dec 5 18:32:26 CET 2016
Sorry about that. I pushed a fix to devel (2.9.14) and soon release. Btw,
it's not typically a good idea to use a real valued vector as a factor. In
this case, you could use %/% or better yet a partitioning, i.e., relist(ir,
PartitioningByEnd(seq(10, 100, 10))).
On Sun, Dec 4, 2016 at 8:40 PM, Marcin Cieślik <marcin.cieslik at gmail.com>
> Dear All,
> I ran into the following change in behaviour between the 3.3 and 3.4
> Bioconductor releases.
> The following code returns TRUE for 3.3 and FALSE for 3.4
> ir <- IRanges(sample(100),sample(100)+100)
> ir2 <- unlist(split(ir, ceiling(1:100 / 10)))
> The reason is lexicographic sorting of the result list from the split.
> [[alternative HTML version deleted]]
> Bioc-devel at r-project.org mailing list
[[alternative HTML version deleted]]
More information about the Bioc-devel