prepare_facets: Prepare facetting columns in the plotting data.

View source: R/prepare_facets.R

prepare_facetsR Documentation

Prepare facetting columns in the plotting data.

Description

Prepare facetting columns in the plotting data.

Usage

prepare_facets(
  x_long,
  x,
  facet_in,
  layout,
  context = c("row", "col"),
  dendro = NULL
)

Arguments

x_long

Long format plotting data.

x

Wide format plotting data.

facet_in

Facetting user input (vector or data frame).

layout

Plot layout vector.

context

Context of facetting (row or col).

dendro

List containing clustering results (or NULL if no clustering).

Value

Long format plotting data with facetting column added.


ggcorrheatmap documentation built on Aug. 25, 2025, 1:11 a.m.