Learn R Programming

IdMappingAnalysis (version 1.16.0)

getMixture.JointUniquePairs: Extract mixture model object from JointUniquePairs and Corr objects

Description

Extract mixture model object from UniquePairsMatch and Corr objects. Computes mixture model on Corr object optionally subsetting the Corr object on a list of ID Maps from the JointUniquePairs object.

Usage

"getMixture"(this, corr, groups=NULL, full.group=FALSE, G=c(1:5), verbose=FALSE, ...)

Arguments

corr
Corr object.
groups
Optional list of DB names from the JointUniquePairs object defining the set of match groups to be used for retrieving the corresponding Mixture object.
full.group
If@ TRUE, uses Corr subset to compute the mixture model or uses the original Corr otherwise. Default is FALSE.
G
the number of mixture model components. If a numerical vector, the optimal mixture model is computed. Default is c(1:5).
verbose
if TRUE enables diagnostic messages. Default is FALSE.
...
Not used

Value

the Mixture object.

See Also

For more information see JointUniquePairs.

Examples

Run this code
 # create and plot mixture  (automatically determining the optimal number of components)
 #for a given DB subset treating the subset as a full group
 mixture.subset <- examples$jointUniquePairs$getMixture(examples$corr,
				groups=c("NetAffx_Q", "DAVID_Q", "EnVision_Q"),
 				full.group=TRUE, G=c(1:5), verbose=TRUE);
 mixture.subset$plot();
 

Run the code above in your browser using DataLab