UniquePairs$swapKeys {IdMappingAnalysis}R Documentation

Swap the primary and secondary key columns

Description

Swap the primary and secondary key columns.

Usage

## 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

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

[Package IdMappingAnalysis version 1.30.0 Index]