IdMap$swapKeys {IdMappingAnalysis} | R Documentation |
Swap the primary and secondary key columns.
## Static method (use this): ## IdMap$swapKeys(idMap, verbose=FALSE, ...) ## Don't use the below: ## S3 method for class 'IdMap' swapKeys(static, idMap, verbose=FALSE, ...)
idMap |
The IdMap object or a list of IdMap objects which keys to be swapped. |
verbose |
|
... |
Not used. |
IdMap object or list of IdMap objects with swapped keys.
Alex Lisovich, Roger Day
For more information see IdMap
.
uniprot2Affy<-IdMap(examples$identDfList[[1]]); uniprot2Affy[1:10,]; affy2Uniprot<-IdMap$swapKeys(uniprot2Affy); affy2Uniprot[1:10,];