[BioC] c()ombining G/IRanges with elementMetadata: feature inquiry/request

Steve Lianoglou mailinglist.honeypot at gmail.com
Wed Feb 9 23:07:03 CET 2011


On Wed, Feb 9, 2011 at 4:45 PM, Martin Morgan <mtmorgan at fhcrc.org> wrote:
> On 02/09/2011 01:20 PM, Steve Lianoglou wrote:
>> Sorry that this thread went cold, but I'm hoping we can come to some consensus:
>>
>> On Tue, Feb 8, 2011 at 12:56 PM, Martin Morgan <mtmorgan at fhcrc.org> wrote:
>> [snip]
>>> just trying not to get stuck on values / elementMetadata. what about
>>> append / rbind, thinking either that append works w/out element
>>> metadata, or that c does and rbind (in the GRanges-are-row-indicies on
>>> values() interpretation; not suitable for IRanges?) / append tries to do
>>> something with element metadata.
>> [/snip]
>>
>> I think my preference would be to have all of these treated the same
>> .. which would mean to error on rbind/c'ing *Ranges with different
>> cols in their elementMetadata, and include an option to drop their
>> elementMetadata when you combine them.
>
> ok; I'm also fine (in the rather-see-progress-than-stand-in-the-way)
> with an arg that mentions elementMetadata rather than values.

Ok. I have a patches for IRanges and GRanges on my machine at home for
the `c` methods using the .ignoreElementMetadata argument.

It's admittedly quite trivial, but I'll double check it and post back
to list when I get back to home base.

-steve

-- 
Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact



More information about the Bioconductor mailing list