swapKeys.UniquePairs: Swap the primary and secondary key columns

Description Usage Arguments Value Author(s) Examples

Description

Swap the primary and secondary key columns.

Usage

1
2
3
4
5
6
## Static method (use this):
## UniquePairs$swapKeys(uniquePairs, ...)

## Don't use the below:
## S3 method for class 'UniquePairs'
swapKeys(static, uniquePairs, ...)

Arguments

uniquePairs

The UniquePairs object or a list of UniquePairs objects which keys to be swapped.

...

Not used.

Value

UniquePairs object or list of UniquePairs objects with swapped keys.

Author(s)

Alex Lisovich, Roger Day

Examples

1
2
3
4
5
 pairs<-UniquePairs$create(examples$identDfList[[1]]);
 pairs[1:10,];
 swapped_pairs<-UniquePairs$swapKeys(pairs);
 swapped_pairs[1:10,];
 

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