Re: [Bioc-devel] subset fails on a DataFrame with 0 cols

2014-07-29 Thread Hervé Pagès
On 07/28/2014 07:52 PM, Michael Lawrence wrote: Thanks, should be fixed in devel S4Vectors. Indeed. Thanks! H. On Mon, Jul 28, 2014 at 6:46 PM, Hervé Pagès mailto:hpa...@fhcrc.org>> wrote: Hi Michael, Works if the DataFrame has columns: library(IRanges) DF1 <- Data

Re: [Bioc-devel] subset fails on a DataFrame with 0 cols

2014-07-28 Thread Michael Lawrence
Thanks, should be fixed in devel S4Vectors. On Mon, Jul 28, 2014 at 6:46 PM, Hervé Pagès wrote: > Hi Michael, > > Works if the DataFrame has columns: > > library(IRanges) > DF1 <- DataFrame(aa=letters[1:4]) > DF0 <- DF1[0] > > Then: > > > DF1 > DataFrame with 4 rows and 1 column >