interactive.mixture.boxplot.JointUniquePairs: Interactive boxplot of mixture component probabilities by...

Description Usage Arguments Author(s) See Also Examples

Description

Creates a boxplot 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@corr.boxplot utilizing the JointUniquePairs$interactive.plot wrapper functionality.

Usage

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

Arguments

corr

Corr object.

groups

Either ID Map names, 'menu' or 'loop'. If ID Map names, the functionality is similar to JointPairsMatch$mixture.boxplot If 'menu' or 'loop', user can select the ID Map set 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.

G

Number of components in mixture model. If G is a vector, the optimal number of component is determined. G is a vector C(1:5) by default.

plot.G

The mixture component to be used for plotting. If NULL, the highest-order component of the mixture model is used.

show.None

If not NA, includes a plot of subset of values not included into any other match group with 'None' label. Default is NA.

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, interprets Corr subset as a full group or uses the original Corr as a full group otherwise. Default is FALSE.

srt

Match group label orientation. The default is 0.

adj

numeric in a range (0..1) determening how close to the x-axis the group labels are, 1 being the closest and 0 being farthest. The default is 0.

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
11
12
13
14
15
16
 #boxplot of correlations by match group for a given DB set (using short names)
 #treating the given DB set as a full group (subsetting=TRUE)
  DBs=list("NetAffx_Q"="AffQ","DAVID_Q"="DQ","EnVision_Q"="EnV");

 examples$jointUniquePairs$interactive.mixture.boxplot(examples$corr,
		groups=DBs,
		subsetting=TRUE,new.plot=TRUE,file.copy=FALSE,G=c(1:5),plot.G=2,
		srt=30,adj=0,cex=1,cex.lab=1.2,cex.axis=1.2,cex.main=1.2,verbose=TRUE);

 ## Not run: 
 #boxplot of correlations by match group choosing the DB set interactively
 examples$jointUniquePairs$interactive.mixture.boxplot(examples$corr,multiline=TRUE,
		G=c(1:5),plot.G=2,
		srt=45,adj=0,cex=1,cex.lab=1,cex.axis=1,cex.main=1.2,verbose=TRUE);
 
## End(Not run)

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