freqplot: Heatmap for 2D histograms

freqplotR Documentation

Heatmap for 2D histograms

Description

Heatmap for 2D histograms

Usage

freqplot(
  x,
  y,
  breaks = 200,
  na.rm = TRUE,
  palette = rev(c("#A50026", "#D73027", "#F46D43", "#FDAE61", "#FEE090", "#FFFFBF",
    "#E0F3F8", "#ABD9E9", "#74ADD1", "#4575B4", "#313695")),
  add_white = TRUE,
  ...
)

Arguments

x

numerical vector

y

numerical vector

breaks

Number of bins

na.rm

Whether to exclude NAs from x and y

palette

color palette for the heatmap

add_white

Boolean. Whether to add white at the beginning of the palette (for counts of 0 in the 2D histogram)

...

passed to image()


ebecht/cytoMerge documentation built on Sept. 9, 2024, 5:38 p.m.