extract_scales: Pick out relevant scales and format for mixed layout.

View source: R/prepare_scales.R

extract_scalesR Documentation

Pick out relevant scales and format for mixed layout.

Description

Pick out relevant scales and format for mixed layout.

Usage

extract_scales(main_scales, scale_order, aes_type, layout)

Arguments

main_scales

Scales for main plot as obtained from prepare_scales.

scale_order

List with order of scales as obtained from make_legend_order.

aes_type

Aesthetic for which to pick out scales.

layout

Layout of heatmap.

Value

List of scales to use.


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