Scatter-plots with fitted curves and text
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.
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),
...)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 |
lines.func |
A function for computing and plotting smoothed fits of |
text.func |
A function for highlighting a subset of points, e.g., |
legend.func |
A function for adding a legend to the plot, e.g. |
... |
Optional graphical parameters, see |
Sandrine Dudoit, http://www.stat.berkeley.edu/~sandrine.
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.
maPlot, maLoessLines, maLegendLines, maText, plot, lowess, loess, legend.
# See examples for maPlot.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.