The CellMix package contains a few utility functions to facilitate working with Bioconductor annotations, which extends or enhance functions available in packages such as annotate.
is.annpkg tells if an object is the name of an
annotation package.
is.anndb tells if an object is an annotation db
object such as hgu133a.db.
biocann_mapname returns the name of a map in an
annotation package.
biocann_pkgname returns the name of an annotation
package, formated from character strings or extracted
from annotation objects.
biocann_pkgobject retrieve the AnnotationDb
object for an annotation package given as a string. The
package does not need to be already loaded but needs to
be installed in a library that is in the search path.
is.annpkg(x)
is.anndb(x)
biocann_mapname(annotation, map, all = FALSE)
biocann_pkgname(x, noext = FALSE)
biocann_pkgobject(x)
S4 (character)
`revmap`(x, ..., simplify = TRUE)
TRUE), i.e. when this mapping is 1:1 --
which can happen even if the original mapping is not 1:1.
Otherwise the mapping is returned as a list.revmap,list-method.signature(x = "character"): The
method revmap for character vectors revert a
mapping provided as a named character vector.