subsetGroups.JointUniquePairs {IdMappingAnalysis} | R Documentation

## Get a JointUniquePairs subset

### Description

Creates a new UniquePairsMatch object which represents a subset of UniquePairs in the original object. Only the rows which have at least a single match are kept from the original object, so the resulting object events form the unity i.e. full event group.

### Usage

    ## S3 method for class 'JointUniquePairs'
    subsetGroups(x, groups=NULL, verbose=FALSE, ...)

### Arguments

`groups` | The subset of groups (DBs) incapsulated within the given JointUniquePairs object to be subsetted on. If `NULL` (default) then all UniquePairs are used.
`verbose` | If `TRUE` enables diagnostic messages. Default is `FALSE`.
`...` | Not used

### Value

JointUniquePairs object representing a full group (unity) for a subset of UniquePairs objects.

### Author(s)

Alex Lisovich, Roger Day

### See Also

For more information see `JointUniquePairs`.

### Examples

     jointIdMap<-JointIdMap(examples$identDfList);
     pairs<-as.UniquePairs(jointIdMap$getUnionIdMap());
     jointPairs<-JointUniquePairs(pairs,jointIdMap$getIdMapList());
     jointPairs$getMapNames();

     jointPairsSubset<-jointPairs$subsetGroups(c("NetAffx_Q","DAVID_Q","EnSembl_F"));
     jointPairsSubset$getMapNames();

[Package IdMappingAnalysis version 1.26.0 Index]