Learn R Programming

IdMappingAnalysis (version 1.16.0)

UniquePairs$create: 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: "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

list of UniquePairs objects

Examples

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

Run the code above in your browser using DataLab