dimsum__ggpairs_binhex: dimsum__ggpairs_binhex

View source: R/dimsum__ggpairs_binhex.R

dimsum__ggpairs_binhexR Documentation

dimsum__ggpairs_binhex

Description

GGpairs plot for all variables in input data table with correlation in upper triangle and 2d binned hexagons in lower triangle.

Usage

dimsum__ggpairs_binhex(
  input_dt,
  output_file_prefix,
  width = 12,
  height = 12,
  bins = 50,
  xlab = "x",
  ylab = "y",
  title = "",
  cut = NULL,
  size = 0.5,
  thresholds = NULL
)

Arguments

input_dt

input data table (required)

output_file_prefix

plot output path prefix (required)

width

plot width (default: 12)

height

plot height (default: 12)

bins

number of hexagon bins (default: 50)

xlab

the title of the x-axis

ylab

the title of the y-axis

title

the plot title

cut

a factor variable to colour the hexagon outlines (optional)

size

line width of hex bins when 'cut' specified (default: 0.5)

thresholds

named list of thresholds where item is numeric (list) of thresholds and name is linetype (optional)

Value

Nothing


lehner-lab/DiMSum documentation built on April 5, 2025, 10:06 p.m.