Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

maPlot.func

Scatter-plots with fitted curves and text


Description

This function produces scatter-plots of x vs. y. It also allows the user to highlight and annotate subsets of points on the plot, and display fitted curves from robust local regression or other smoothing procedures.

Usage

maPlot.func(x, y, z, 
	lines.func = maLowessLines(subset = TRUE, f = 0.3, col = 1:length(unique(z)), lty = 1, lwd = 2.5),
    	text.func = maText(), 
	legend.func = maLegendLines(legend = as.character(unique(z)), col = 1:length(unique(z)), lty = 1, lwd = 2.5, ncol = 1),
	 ...)

Arguments

x

A "numeric" vector for the abscissa.

y

A "numeric" vector for the ordinates.

z

A vector of statistic used to stratify the data, smoothed curves are fitted separately within values of z

lines.func

A function for computing and plotting smoothed fits of y as a function of x, separately within values of z, e.g. maLoessLines.

text.func

A function for highlighting a subset of points, e.g., maText.

legend.func

A function for adding a legend to the plot, e.g. maLegendLines.

...

Optional graphical parameters, see par.

Author(s)

References

S. Dudoit and Y. H. Yang. (2002). Bioconductor R packages for exploratory analysis and normalization of cDNA microarray data. In G. Parmigiani, E. S. Garrett, R. A. Irizarry and S. L. Zeger, editors, The Analysis of Gene Expression Data: Methods and Software, Springer, New York.

See Also

Examples

# See examples for maPlot.

marray

Exploratory analysis for two-color spotted microarray data

v1.68.0
LGPL
Authors
Yee Hwa (Jean) Yang <jeany@maths.usyd.edu.au> with contributions from Agnes Paquet and Sandrine Dudoit.
Initial release
2009-08-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.