These methods convert the genes identifiers of a gene set from one
type to another, e.g., from EntrezIdentifier
to
AnnotationIdentifier
. Methods can be called directly by
the user; geneIdType<-
provides similar
functionality. verbose=TRUE
produces warning messages when
maps between identifier types are not 1:1, or a map has to be
constructed on the fly (this situation does not apply when using the
DBI-based annotation packages).
The following methods are defined on what="GeneSet"
:
This method warns of attempts to map from
and to
the
same type, or generates an error if no suitable
mapIdentifiers
methods are available.
This method will re-dispatch to a method with signature
signature(what=what, to=to, from=geneIdType(what))
, and is
present so that a user can call mapIdentifiers
without providing an
explicit from
argument.
This maps a gene set from gene identifiers represented by the
NullIdentifier
type (i.e., no type associated with the genes) to
gene identifiers represent by any class derived from
GeneIdentifierType
.
This maps a gene set from gene identifiers represented by any
GeneIdentifierType
type to one represented by the
NullIdentifier
(i.e., no type associated with the genes).
Maps identifiers found in what
to the type described by
to
, using the map (key-value pairs) found in from
.
Maps identifiers found in what
to the type described by
to
, using the map (key-value pairs) found in from
.
The following methods are defined for what=GeneColorSet
. These methods
map gene- and phenotype color appropriately, and fail if coloring of
gene identifiers involved in several-to-1 mappings conflict.
This method will re-dispatch to a method with signature
signature(what=what, to=to, from=geneIdType(what))
, and is
present so that a user can call mapIdentifiers
without providing an
explicit from
argument.
This maps a gene set from gene identifiers represented by the
NullIdentifier
type (i.e., no type associated with the genes) to
gene identifiers represent by any class derived from
GeneIdentifierType
.
This maps a gene set from gene identifiers represented by any
GeneIdentifierType
type to one represented by the
NullIdentifier
(i.e., no type associated with the genes).
This method is not implemented, and exists to stop incorrect
application of the GeneSet
method.
This method is not implemented, and exists to stop incorrect
application of the GeneSet
method.
A method exists for what="GeneSetCollection"
:
Map each gene set in what
to gene identifier type
to
, using methods described above.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.