View source: R/prepare_scales.R
extract_scales | R Documentation |
Pick out relevant scales and format for mixed layout.
extract_scales(main_scales, scale_order, aes_type, layout)
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. |
List of scales to use.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.