Learn R Programming

IdMappingAnalysis (version 1.16.0)

corr.plot.JointUniquePairs: Plot the density distributions for a set of correlation objects derived from JointUniquePairs and Corr objects

Description

Plot 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 achived by first creating a correlation object from the JointUniquePairs and Corr objects with optional subsetting by a group of ID Maps and then calling the Corr.plot() on a resulting set of correlation objects.

Usage

"corr.plot"(this, corr, idMapNames=NULL, plot.Union=TRUE, subsetting=FALSE, lineColors=NULL, lineStyles=NULL, lineWidths=2, verbose=FALSE, ...)

Arguments

corr
Corr object.
idMapNames
If not NULL, defines the subset of ID Maps from JointUniquePairs on which the full event group is to be formed. Default is NULL.
plot.Union
If TRUE (default), plots also the density of the correlation object corrsesponding to the union of a set of correlation objects.
subsetting
If TRUE, subsets the Corr on a group of ID Maps or uses the original Corr otherwise. 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

Value

The list of Corr objects which data densities are plotted

See Also

For more information see JointUniquePairs.

Examples

Run this code
 #plot the correlation densities of a Corr object (corr.spearman) on a given DB subset
 corrSet<-examples$jointUniquePairs$corr.plot(examples$corr,
             idMapNames=c("NetAffx_Q","DAVID_Q","EnVision_Q"),
	       plot.Union=TRUE,subsetting=TRUE,verbose=TRUE);
 names(corrSet);
 

Run the code above in your browser using DataLab