Learn R Programming

IdMappingAnalysis (version 1.16.0)

IdMap$swapKeys: Swap the primary and secondary key columns

Description

Swap the primary and secondary key columns.

Usage

## Static method (use this): ## IdMap$swapKeys(idMap, verbose=FALSE, ...)
## Don't use the below: "swapKeys"(static, idMap, verbose=FALSE, ...)

Arguments

idMap
The IdMap object or a list of IdMap objects which keys to be swapped.
verbose
If TRUE enables diagnostic messages. Default is FALSE.
...
Not used.

Value

See Also

For more information see IdMap.

Examples

Run this code
uniprot2Affy<-IdMap(examples$identDfList[[1]]);
uniprot2Affy[1:10,];

affy2Uniprot<-IdMap$swapKeys(uniprot2Affy);
affy2Uniprot[1:10,];

Run the code above in your browser using DataLab