Re: [Bioc-devel] GenomicRanges: Concatenation of GRanges with matrices in mcols

2014-05-20 Thread Michael Lawrence
Fixed in release and devel (IRanges). Thanks, Michael On Tue, May 20, 2014 at 1:22 AM, Julian Gehring wrote: > Hi, > > If I want to bind two GRanges object with a matrix in the meta columns, > the concatenation of the two fails in bioc-stable (GenomicRanges 1.16.3) > and bioc-devel (GenomicRang

Re: [Bioc-devel] GenomicRanges: Concatenation of GRanges with matrices in mcols

2014-05-20 Thread Hervé Pagès
On 05/20/2014 12:49 PM, Hervé Pagès wrote: Hi Julian, At the root of the problem is what rbind() does on DataFrames containing matrices: m <- matrix(1:4, nrow=2) df <- DataFrame(m=I(m)) df2 <- rbind(df, df) Then: > df2 DataFrame with 8 rows and 1 column m

Re: [Bioc-devel] GenomicRanges: Concatenation of GRanges with matrices in mcols

2014-05-20 Thread Hervé Pagès
Hi Julian, At the root of the problem is what rbind() does on DataFrames containing matrices: m <- matrix(1:4, nrow=2) df <- DataFrame(m=I(m)) df2 <- rbind(df, df) Then: > df2 DataFrame with 8 rows and 1 column m 1 1 3 2 2 4 3 1 3 4 2 4