Learn R Programming

IdMappingAnalysis (version 1.16.0)

do.glm.JointUniquePairs: 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

"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')

See Also

For more information see JointUniquePairs.

Examples

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

Run the code above in your browser using DataLab