ThresholdPairs: ggpairs plot, with group column

Description Usage Arguments Value Examples

Description

ggpairs plot, with group column

Usage

1
ThresholdPairs(data, filtercolumn, cutoff)

Arguments

data

data frame

filtercolumn

column name of data to color by

cutoff

value or values at which to split the filtercolumn. Integer or vector

Value

A ggpairs plot

Examples

1
2
3
4
5
set.seed(1)
datain <- data.frame(matrix(rnorm(100), nrow=25))
colnames(datain) <- c("w","x","y","z")

ThresholdPairs(datain, "x", cutoff=c(-.33,.33))

grieman/grieman documentation built on May 17, 2019, 8:36 a.m.