Re: [Bioc-devel] GRanges to VRanges coercion

2015-02-23 Thread Valerie Obenchain
Hi Thomas, Michael, makeVRangesFromGRanges has been added to 1.13.34. The methods-VRanges-class.R file was already large so I added makeVRangesFromGRanges.R. A few notes: - '...' was replaced with 'keep.extra.columns' - row names are propagated automatically so I removed the explicit row.n

Re: [Bioc-devel] GRanges to VRanges coercion

2015-02-20 Thread Hervé Pagès
Hi guys, On 02/20/2015 04:17 PM, Michael Lawrence wrote: On Thu, Feb 19, 2015 at 12:46 PM, Thomas Sandmann wrote: Hi Valerie, hi Michael, I find myself frequently moving back and forth between data.frames, GRanges and VRanges objects. The makeGRangesFromDataFrame function from the GenomicRa

Re: [Bioc-devel] GRanges to VRanges coercion

2015-02-20 Thread Michael Lawrence
On Thu, Feb 19, 2015 at 12:46 PM, Thomas Sandmann wrote: > Hi Valerie, hi Michael, > > I find myself frequently moving back and forth between data.frames, > GRanges and VRanges objects. > > The makeGRangesFromDataFrame function from the GenomicRanges makes the > coercion between the former straig

[Bioc-devel] GRanges to VRanges coercion

2015-02-19 Thread Thomas Sandmann
Hi Valerie, hi Michael, I find myself frequently moving back and forth between data.frames, GRanges and VRanges objects. The makeGRangesFromDataFrame function from the GenomicRanges makes the coercion between the former straightforward, but I couldn't find anything similar for the second step, co