Learn R Programming

IdMappingAnalysis (version 1.16.0)

mixture.boxplot.JointUniquePairs: Boxplot of a mixture model component by match group

Description

Creates a boxplot of mixture component data from the Mixture object by a set of match groups from the JointUniquePairs object, utilizing the JointUniquePairs$boxplot function

Usage

"mixture.boxplot"(this, corr, idMapNames=NULL, show.None=FALSE, subsetting=FALSE, group.gap=0.2, G=c(1:5), plot.G=NULL, cex.main=1.2, cex.lab=1, srt=0, adj=0, par.zoom=1, main="Component posterior probability by match group", plot=TRUE, verbose=FALSE, ...)

Arguments

corr
Corr object from which the Mixture object is constructed on the fly to use one of it'c components for the boxplot corresponding to the best fit is plotted.
idMapNames
Defines a subset of match group names to be plotted. If NULL (default), all group names within the pairsMatch are used.
subsetting
If TRUE, interprets Corr subset as a full group or uses the original Corr as a full group otherwise. Default is FALSE.
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.
group.gap
The gap between match groups. Default is 0.2.
cex.main
Font size for plot main title. Default is 1.2.
cex.lab
Font size for X and Y axis titles. Default is 1.
srt
Match group label orientation (see par('srt')). 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 is farthest. The default is 0.
G
Number of components in mixture model. If G is a vector, the optimal number of component is determined. G is a vector (1:5) by default.
plot.G
The mixture component to be used for plotting. If NULL (default), the highest-order component of the mixture model is used.
par.zoom
Graphics parameters zoom factor. Scales the graphical parameters like cex, lwd, mai etc. Default is 1.
main
The main title. Default is 'Component posterior probability by match group'
plot
if TRUE (default) then a boxplot is produced. If not, the summaries which the boxplots are based on are returned.
verbose
If TRUE enables diagnostic messages. Default is FALSE.
...
Additional graphical parameters

Value

Same as for boxplot in graphics package

See Also

For more information see JointUniquePairs.

Examples

Run this code
 #plot posterior second component probability distributions by match group
 mapNames=list(NetAffx_Q="Affy_Q",DAVID_F="D_F",EnVision_Q="EnQ");
 examples$jointUniquePairs$mixture.boxplot(examples$corr,
	idMapNames=mapNames,
	multiline=TRUE,subsetting=TRUE, plot.G=2,
	srt=35, col.points="red",verbose=TRUE);
 

Run the code above in your browser using DataLab