org.Hs.egGENENAME {org.Hs.eg.db} | R Documentation |
org.Hs.egGENENAME is an R object that maps entrez gene identifiers to the corresponding gene name.
Each entrez gene identifier maps to a named vector containing the gene
name. The vector name corresponds to the entrez gene identifier. If the
gene name is unknown, the vector will contain an NA
.
Gene names currently include both the official (validated by a nomenclature committee) and preferred names (interim selected for display) for genes. Efforts are being made to differentiate the two by adding a name to the vector.
Mappings were based on data provided by: Entrez Gene ftp://ftp.ncbi.nlm.nih.gov/gene/DATA With a date stamp from the source of: 2017-Nov6
AnnotationDb-class
for use of
the select()
interface.
## select() interface: ## Objects in this package can be accessed using the select() interface ## from the AnnotationDbi package. See ?select for details. ## Bimap interface: x <- org.Hs.egGENENAME # Get the gene names that are mapped to an entrez gene identifier mapped_genes <- mappedkeys(x) # Convert to a list xx <- as.list(x[mapped_genes]) if(length(xx) > 0) { # Get the GENE NAME for the first five genes xx[1:5] # Get the first one xx[[1]] }