View source: R/plotCorrPairs.R
plotPairwiseScatter | R Documentation |
Make a scatterplot for each pair of variables in X and Y. Dataset is divided in two based on value in testVariable
plotPairwiseScatter(
X,
Y,
testVariable,
size = 1,
cols = c("#00ff40", "deepskyblue"),
axisLabels = c("show", "internal", "none"),
title = NULL,
xlab = NULL,
ylab = NULL
)
X |
data.frame of variables |
Y |
data.frame of variables |
testVariable |
factor indicating two subsets of the samples to compare |
size |
size of points |
cols |
color to label samples in for two levels of testVariable |
axisLabels |
either "show" to display axisLabels, "internal" for labels in the diagonal plots, or "none" for no axis labels |
title |
title |
xlab |
xlab |
ylab |
xlab |
ggplot2 of combined pairwise scatter plots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.