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

Martin Morgan mtmorgan at fhcrc.org
Wed Feb 9 22:45:16 CET 2011


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.

Martin

> 
> I feel like the elementMetadata in IRanges isn't thought of "as
> important" as the ones for GRanges, but I (myself) don't really
> differentiate between the two.
> 
> Also, I think exposing the same functionality like what's in
> IRanges:::.rbind.elementMetadata so that several such
> elementMetadata's can be massaged in a manner that allows them to be
> combined w/o losing their respective info would also be helpful.
> 
> -steve
> 


-- 
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109

Location: M1-B861
Telephone: 206 667-2793



More information about the Bioconductor mailing list