draw_composition_heatmap: Composition heatmap

View source: R/draw_composition_heatmap.R

draw_composition_heatmapR Documentation

Composition heatmap

Description

Function creating heatmap showing the composition of a test.

Usage

draw_composition_heatmap(
  composition,
  cat1,
  cat2,
  categorical_values1,
  categorical_values2
)

Arguments

composition

Tibble. Table showing the composition of a test.

cat1

Character. First dimension selected.

cat2

Character. Second dimension selected.

categorical_values1

Tibble. Categories associated to the first dimension selected.

categorical_values2

Tibble. Categories associated to the second dimension selected.

Value

A ggplot object ready for rendering.

Author(s)

Nicolas Mangin


NicolasJBM/chartR documentation built on Sept. 13, 2024, 12:31 p.m.