plotPairwiseScatter: Scatter plot of all pairs of variables stratified by test...

View source: R/plotCorrPairs.R

plotPairwiseScatterR Documentation

Scatter plot of all pairs of variables stratified by test variable

Description

Make a scatterplot for each pair of variables in X and Y. Dataset is divided in two based on value in testVariable

Usage

plotPairwiseScatter(
  X,
  Y,
  testVariable,
  size = 1,
  cols = c("#00ff40", "deepskyblue"),
  axisLabels = c("show", "internal", "none"),
  title = NULL,
  xlab = NULL,
  ylab = NULL
)

Arguments

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

Value

ggplot2 of combined pairwise scatter plots


GabrielHoffman/decorate documentation built on May 23, 2023, 1:29 a.m.