extract_scales: 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)
Value
List of scales to use.
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.