Computes a complete list of maps to apply in order to convert from one type of gene identifier to another.
biocann_map(from, to, keys = NULL, cache = TRUE, link = "ENTREZID", lib = NULL, verbose = FALSE)
GeneIdentifierType-class
object, or a
character string, e.g. 'ENTREZID'
, if to
already contains annotation data.GeneIdentifierType-class
object, or a
character string, e.g. 'UNIGENE'
, if from
already contains annotation data.'ENTREZID'
.This function is an extension/enhancement of the function
GSEABase:::.mapIdentifiers_selectMaps
, which cope
with the cases of cross-platform and cross-species
conversions.
In particular, when called in an interactive session, this function will notifies the user about missing required annotation packages, and offers to install them at runtime.
## Not run:
##D # intra-platform
##D m <- biocann_map('ENTREZID', AnnotationIdentifier('hgu133a.db'))
##D # cross platform
##D m <- biocann_map(UnigeneIdentifier('hgu133a.db'), EntrezIdentifier('hgu133b.db'))
##D # cross platform, cross-species
##D m <- biocann_map(EntrezIdentifier('hgu133a.db')
##D , AnnotationIdentifier('mogene10stprobeset.db')
##D , keys=as.character(1:1000))
## End(Not run)