Skip to content

[Bioc-devel] mapping vector of gene ids to gene symbols

3 messages · Hervé Pagès, Michael Lawrence, Tim Triche, Jr.

#
Hi Michael,
On 06/18/2014 06:03 AM, Michael Lawrence wrote:
Couldn't this be handled via an extra argument to select()?

I would suggest this argument be called something like 'ManyToOneOrNone'
or 'ManyToZeroOrOne' rather than 'OneToOneOrNone' (different keys
can be mapped to the same symbol and I guess that's fine).

In other words you want an option to force select() to return a
data.frame that is "parallel" to the vector of keys (i.e. 1 row
per key and in the same order, even when this vector contains NAs
and/or duplicates), or fail.

Kind of related to that discussion we had on the bioconductor list
about 1 year ago:

   https://stat.ethz.ch/pipermail/bioconductor/2013-July/054056.html

Cheers,
H.

  
    
#
Seconded, this would be so useful.  I still use mget() for heavens sake. 

Meanwhile I'm going to try VariantFiltering. Thanks for starting this conversation Michael. 

--t