interactive.plot.JointUniquePairs: General purpose JointUniquePairs interactive plot function

Description Usage Arguments Author(s) See Also Examples

Description

This is an interactive wrapper for JointUniquePairs plot functions allowing to subset the data on the UniquePairsMatch object and select customazable drawing parameters through the graphical selection dialog.

Usage

1
2
## S3 method for class 'JointUniquePairs'
interactive.plot(this, data, plotFun, plotType, toggle_keys=list(), keys=list(), idMapNames="loop", new.plot=FALSE, file.copy=FALSE, copy.zoom=1, verbose=TRUE, ...)

Arguments

data

The data to be plotted.

plotFun

The plotting function.

plotType

Selection dialog caption

toggle_keys

The list of logical toggling custom keys controlling the drawing process. Once set, their value remains unchanged during subsequent drawing cycles ('loop' mode) until user toggles the key again. Internally, this list is automatically prepended by file.copy toggling key allowing to turn saving current plot into the file on and off. Default is empty list.

keys

The list of logical custom keys controlling the drawing process. Unlike toggle_keys, their value should be set every time the drawing cycle repeats ('loop' mode). Internally, the list is automatically prepended by new.plot key allowing to open a new graphic device for a plot. Default is empty list.

idMapNames

Either a character vector of ID Map names, 'menu' or 'loop'. If ID Map names, the data for plotting are generated by subsetting the data on a set of ID pairs from the match corresponding to the given ID Map set. If 'menu' or 'loop', user can select ID Map set interactively from the graphical selection dialog simultaneously controlling plot destination (same or new graphic device), wherther or not the plot should be saved in a file as well as additional control parameters defined by toggle_keys and keys. If 'loop', the interactive drawing cycle repeats untill the user cancells the process. Default is 'loop'.

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.

copy.zoom

Zoom factor used when saving plot in a file. Default is 1.

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
 #plot correlation densities choosing the DB set interactively
 examples$jointUniquePairs@interactive.plot(
			examples$corr,examples$jointUniquePairs$corr.plot,"correlation plot",idMapNames="loop",
			toggle_keys=list(plot.Union=TRUE,subsetting=TRUE),
			keys=list(),
			new.plot=FALSE,file.copy=FALSE,
			lineColors=NULL,lineStyles=NULL,lineWidths=2,verbose=TRUE);
 
## End(Not run)

IdMappingAnalysis documentation built on Oct. 31, 2019, 3:30 a.m.