Skip to content
Prev 6820 / 21312 Next

[Bioc-devel] Replacing deprecated org.Hs.egCHR and friends

Hi,
On 01/13/2015 10:22 AM, Marc Carlson wrote:
Maybe the warning could display this link or whatever pointer to
the place where mapping Entrez Gene ids to chromosome is explained.

Note that extracting this mapping from a TxDb package is a 3-liner:

   library(TxDb.Hsapiens.UCSC.hg19.knownGene)
   txdb <- TxDb.Hsapiens.UCSC.hg19.knownGene
   select(txdb, keys=keys(txdb), columns=c("GENEID", "TXCHROM"), 
keytype="GENEID")

so maybe the warning message could just display that...

Cheers,
H.