UniquePairs$create {IdMappingAnalysis} | R Documentation

## Create a UniquePairs object from a single IdMap or a list of IdMap objects

### Description

Create a UniquePairs object by converting a single IdMap or a list of Id Maps into a single or list of unique pairs data structures optionally intersecting the secondary ID set with an external secondary ID set if farther data size reduction is necessary

### Usage

    ## Static method (use this):
    ## UniquePairs$create(idMapSet, secondaryIDs=NULL, keepMissing=FALSE, verbose=FALSE, ...)

    ## Don't use the below:
    ## S3 method for class 'UniquePairs'
    create(static, idMapSet, secondaryIDs=NULL, keepMissing=FALSE, verbose=FALSE, ...)

### Arguments

`idMapSet` | an object or a list of object which can be coerced into IdMap object(s) to be converted into UniquePairs object (list).
`secondaryIDs` | optional secondary ID list on which the resulting UniquePairs object is intersected. Default is NULL (not present).
`keepMissing` | ogical indicating if the rows with empty secondary IDs should removed from the resulting object. Default is FALSE (keep such rows)
`verbose` | if `TRUE` enables diagnostic messages. Default is `FALSE`.
`...` | Not used

### Value

A UniquePairs object or a `list` of UniquePairs objects

### Author(s)

Alex Lisovich, Roger Day

### Examples

     uniquePairs<-UniquePairs$create(IdMap(examples$identDfList[[1]]));
     uniquePairsList<-UniquePairs$create(examples$identDfList,verbose=TRUE);

[Package IdMappingAnalysis version 1.24.0 Index]