subsetData.JointUniquePairs {IdMappingAnalysis} | R Documentation

## Subset data on a UniquePairsMatch object

### Description

Subset data on a UniquePairsMatch object.

### Usage

    ## S3 method for class 'JointUniquePairs'
    subsetData(this, data, expr, ...)

### Arguments

`data` | `numeric` vector to subset. Should be of the same length as ncol(this).
`expr` | `expression` or a `character` string representing an expression according to which the indicator variable columns of match object will be combined to form the logical vector of data vector elements inclusion.
`...` | Not used

### Value

subset of the original data vector.

### Author(s)

Alex Lisovich, Roger Day

### See Also

For more information see `JointUniquePairs`.

### Examples

     #perform Wilcoxon test for EnVision/Affy corellation data
     data1<-examples$jointUniquePairs$subsetData(examples$corr$getData(),
    		"EnVision_Q & !NetAffx_Q");
     data2<-examples$jointUniquePairs$subsetData(examples$corr$getData(),
               "!EnVision_Q & NetAffx_Q");
     wilcox<-wilcox.test(data1,data2);
     wilcox[names(wilcox)];

[Package IdMappingAnalysis version 1.26.0 Index]