swapKeys.IdMap: Swap the primary and secondary key columns

Description Usage Arguments Value Author(s) See Also Examples

Description

Swap the primary and secondary key columns.

Usage

1
2
3
4
5
6
## Static method (use this):
## IdMap$swapKeys(idMap, verbose=FALSE, ...)

## Don't use the below:
## S3 method for class 'IdMap'
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

IdMap object or list of IdMap objects with swapped keys.

Author(s)

Alex Lisovich, Roger Day

See Also

For more information see IdMap.

Examples

1
2
3
4
5
uniprot2Affy<-IdMap(examples$identDfList[[1]]);
uniprot2Affy[1:10,];

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

IdMappingAnalysis documentation built on Oct. 31, 2019, 3:30 a.m.