View source: R/plot_heatmaps.R
| build_heatmap | R Documentation |
Build an interactive heatmap of prevalence ratios
build_heatmap(
data,
name1,
name2,
scale_mode = "log2",
concept_weights = NULL,
concept_order = NULL
)
data |
Data frame with meta_agegroups data (concept_id, concept_name, concept_code, sex, age_group, log2_pr, ci_low, ci_high, p_value). |
name1 |
Reference dataset name. |
name2 |
Comparison dataset name. |
scale_mode |
"fold" or "log2" for axis labels. |
concept_weights |
Data frame with concept_id, concept_name, pop_weight. |
concept_order |
Vector of concept_ids in desired display order. |
A girafe object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.