Hi, Tim.

The keys for org.Hs.eg are Entrez Gene IDs, not NM numbers.

> mget('1030',org.Hs.egSYMBOL)
$`1030`
[1] "CDKN2B"

Hope that helps,
Sean


On Thu, May 12, 2011 at 2:20 PM, Tim Triche, Jr. <tim.triche@gmail.com>wrote:

> This is strange (and worrisome).  Why can't I get sensible mappings for
> p15/CDKN2A from org.Hs.eg.db?
>
> > mget(grep('NM_',unlist(mget(org.Hs.egALIAS2EG[['P15']],
> org.Hs.egACCNUM)),
> val=T), org.Hs.egSYMBOL, ifnotfound=NA)
> $NM_004936
> [1] NA
>
> $NM_078487
> [1] NA
>
> $NM_006713
> [1] NA
>
> $NM_013248
> [1] NA
>
> > sessionInfo()
> R version 2.14.0 Under development (unstable) (2011-04-21 r55577)
> Platform: x86_64-unknown-linux-gnu (64-bit)
>
> locale:
>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
>  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
>  [5] LC_MONETARY=C              LC_MESSAGES=C
>  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
>  [9] LC_ADDRESS=C               LC_TELEPHONE=C
> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats     graphics  grDevices datasets  utils     methods   base
>
> other attached packages:
> [1] org.Hs.eg.db_2.5.0   RSQLite_0.9-4        DBI_0.2-5
> [4] AnnotationDbi_1.15.3 Biobase_2.13.1       gtools_2.6.2
> [7] reshape_0.8.4        plyr_1.4
>
> loaded via a namespace (and not attached):
> [1] tools_2.14.0
>
>
> --
> If people do not believe that mathematics is simple, it is only because
> they
> do not realize how complicated life is.
> John von Neumann<
> http://www-groups.dcs.st-and.ac.uk/~history/Biographies/Von_Neumann.html>
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>

	[[alternative HTML version deleted]]

