ggHistogram: Ridged histogram for flow cytometry data.

View source: R/ggHistogram.R

ggHistogramR Documentation

Ridged histogram for flow cytometry data.

Description

The dashed line represents the median.

Usage

ggHistogram(
  df,
  x,
  y,
  fill,
  facet = NULL,
  colors = NULL,
  facet_type = "wrap",
  facet_scales = "free",
  facet_space = "free",
  facet_ncol = NULL,
  facet_nrow = NULL
)

Arguments

df

A data.frame of plot data.

x

A string of the column name for x.

y

A string of the column name for y.

fill

A string of the column name for fill.

facet

(Optional) A string of the column name for facet. Currently facetting with only onw variable is implemented.

colors

(Optional) A vector of colors.

facet_type

The facetting type. Can be either "wrap" or "grid".

facet_scales

The facetting scales.

facet_space

The spacing scheme in the facetting grid.

facet_ncol

Number of columns.

facet_nrow

Number of rows.


masato-ogishi/plotUtility documentation built on July 27, 2023, 11:37 a.m.