interactive.mixture.plot.JointUniquePairs {IdMappingAnalysis} | R Documentation

## Interactive plot of mixture model components

### Description

Plots the correlation densities of the empirical fit, mixture fit and each of the mixture components for a mixture model derived from JointUniquePairs and Corr objects with optional subsetting by a group of ID Maps. This is an interactive version of JointUniquePairs$mixture.plot unitilizing the JointUniquePairs$interactive.plot wrapper functionality.

### Usage

    ## S3 method for class 'JointUniquePairs'
    interactive.mixture.plot(this, corr, groups="loop", new.plot=FALSE, file.copy=FALSE, subsetting=FALSE, G=c(1:5), verbose=TRUE, ...)

### Arguments

`corr` | Corr object.
`groups` | either ID Map names, 'menu' or 'loop'. If ID Map names, the functionality is similar to JointUniquePairs$mixture.plot If 'menu' or 'loop', user can select the pair of ID Maps interactively from the graphical selection dialog simultaneously controlling the plot destination (same or new graphic device) wherther or not the plot should be saved in a file etc. If 'loop', the interactive drawing cycle repeats untill the user cancells the process.
`new.plot` | `logical` indicating if the new graphic device should be created for plot. In interactive mode can be selected graphically. Default is `FALSE`.
`file.copy` | `logical` or a `character` string indicating if the plot should be saved to a file. If `character` string, it's content used as a file name and if `TRUE`, the default file named is formed and used. In interactive mode can be toggled graphically. Default is `FALSE`.
`subsetting` | If `TRUE`, subsets the Corr on a group of ID Maps to compute the mixture model or uses the original Corr otherwise. In interactive mode can be toggled graphically. 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`.
`...` | Additional graphical parameters

### Author(s)

Alex Lisovich, Roger Day

### See Also

For more information see `JointUniquePairs`.

### Examples

     #plot mixture densities for a given DB set
     #treating the given DB set as a full group (subsetting=TRUE)
     examples$jointUniquePairs$interactive.mixture.plot(examples$corr,
    		groups=c("NetAffx_Q","DAVID_Q","EnVision_Q"),
    		subsetting=TRUE,new.plot=TRUE,file.copy=FALSE,G=c(1:5),
    		cex.lab=1.4,cex.legend=1.2,verbose=TRUE);

     ## Not run:
     #plot mixture densities choosing the DB set interactively
     examples$jointUniquePairs$interactive.mixture.plot(examples$corr,
    		G=c(1:5),verbose=TRUE,cex.lab=1.4,cex.legend=1.1);

    ## End(Not run)

[Package IdMappingAnalysis version 1.24.0 Index]