do.glm.JointUniquePairs {IdMappingAnalysis} | R Documentation

## Compute linear regression for the given set of ID Maps

### Description

Compute linear regression for the given set of ID Maps using the UniquePairsMatch object and auxiliary data (response.data) from another data object.

### Usage

    ## S3 method for class 'JointUniquePairs'
    do.glm(this, response.data, weights=NULL, idMapNames=NULL, ...)

### Arguments

`response.data` | The data on which the regression to be fitted.
`weights` | An optional vector of 'prior weights' to be used in the fitting process. Should be `NULL` or a `numeric` vector.
`idMapNames` | optional list of ID Map names within the pairsMatch object on which the fit to be performed. If NULL (default), all ID Maps within the pairsMatch object will be used.
`...` | Not used

### Value

The regression model fitting results (an object of class 'glm')

### Author(s)

Alex Lisovich, Roger Day

### See Also

For more information see `JointUniquePairs`.

### Examples

     # perform regression on correlations
     fit<-examples$jointUniquePairs$do.glm(examples$corr$getData(),
    		idMapNames=c("DAVID_Q","EnVision_Q","NetAffx_Q"));
     coefficients(summary(fit));

[Package IdMappingAnalysis version 1.24.0 Index]