Draw a scatter plot, including line of best fit, correlation measures and labels (using Rcssplot)
1 2 3 4 5 6 7 | E3PlotScatter(xx, yy, items = NULL, outliers = NULL, col = NULL,
onecol = NULL, items.highlight = c(), xlim = NULL, ylim = NULL,
xlimwiden = 0.1, xlab = NULL, ylab = NULL, main = "", xerr = NULL,
yerr = NULL, labelq = c(0.02, 0.98), cex.rescale = NULL,
show.correlation = TRUE, show.glm = FALSE, show.labels = c(),
correlation.threshold = 1e-04, add = FALSE, Rcss = "default",
Rcssclass = c())
|
xx |
- numeric vector with names. x coordinates for points. |
yy |
- numeric vector with names. y coordinates for points |
items |
- character vector. ids of data points to display |
outliers |
- character vector. ids of data points drawn as outliers. |
col |
- |
onecol |
- |
items.highlight |
- character vector. Names of items x,y to highlight. |
xlim |
- numeric vector with two elements. range for x axis |
ylim |
- numeric vector with two elements. range for y axis |
xlimwiden |
- numeric. Determines how much wider the actual x range will be relative to xlim. Use this to add some padding around the xlim. |
xlab |
- character string. Text to display below x axis |
ylab |
- character string. Text to display below y axis. |
main |
- character string. Text to display as title, above heatmap. |
xerr |
- numeric vector with names. Values of stderr on the x axis for error bars. |
yerr |
- numeric vector with names. Values of stderr on the y values for error bars. |
labelq |
- numeric vector of length two. Quantiles that determine which items should be highlihted. |
cex.rescale |
- numeric. Rescaling factor for items marked for highlighting. |
show.correlation |
- logical. Toggle display of Spearman correlation info. |
show.glm |
- logical. Toggle display of best fit line. |
show.labels |
- character vector. Names of items to label on the plot. |
correlation.threshold |
- numeric. Correlations with p-value below this threshold will be highlighted in bold. |
Rcss |
- Rcss object. Used to style the heatmap with Rcssplot. |
Rcssclass |
- character vector. Classes to tune Rcssplot formatting. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.