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

## Interactive plot of correlation densities

### Description

Plots the density distributions for a set of correlation objects derived from JointUniquePairs and Corr objects with optional subsetting by a group of ID Maps. This is an interactive version of JointUniquePairs$corr.plot utilizing the JointUniquePairs@interactive.plot wrapper functionality.

### Usage

    ## S3 method for class 'JointUniquePairs'
    interactive.corr.plot(this, corr, groups="loop", new.plot=FALSE, file.copy=FALSE, plot.Union=TRUE, subsetting=FALSE, lineColors=NULL, lineStyles=NULL, lineWidths=2, verbose=TRUE, ...)

### Arguments

`corr` | Corr object.
`groups` | Either ID Maps names, 'menu' or 'loop'. If ID Map names, the functionality is similar to UniquePairsMatch.corr.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` indicating if the plot should be saved in a file. In interactive mode can be toggled graphically. Default is `FALSE`.
`plot.Union` | If `TRUE` (default), plots also the density of the correlation object corrsesponding to the union of a set of correlation objects. In interactive mode can be toggled graphically.
`subsetting` | If TRUE, subsets the Corr on a group of ID Maps or uses the original Corr otherwise. In interactive mode can be toggled graphically. Default is `FALSE`.
`lineColors` | The `vector` of line colors (recycled if necessary) for plotting the distributions of different Corr objects. If `NULL` (default), the predefined set of colors is used.
`lineStyles` | The `vector` of line styles (recycled if necessary) for plotting the distributions of different Corr objects. If `NULL` (default), the predefined set of line styles is used.
`lineWidths` | The vector of line widths (recycled if necessary) for plotting the distributions of different Corr objects. Default is 2.
`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 correlation densities for a given DB set
     #treating the given DB set as a full group (subsetting=TRUE)
     examples$jointUniquePairs$interactive.corr.plot(examples$corr,
    		groups=c("NetAffx_Q","DAVID_Q","EnVision_Q"),
    		subsetting=TRUE,new.plot=TRUE,file.copy=FALSE,verbose=TRUE,
    		cex.lab=1.4,cex.legend=1.1);
     ## Not run:
     #plot correlation densities choosing the DB set interactively
     examples$jointUniquePairs$interactive.corr.plot(examples$corr,
    		copy.zoom=2,verbose=TRUE,cex.lab=1.4,cex.legend=1.1);

    ## End(Not run)

[Package IdMappingAnalysis version 1.24.0 Index]