merge_template | R Documentation |
Custom merge function to help users align their data with the template datasets containing the variable location information for the Nightingale figures. User datasets should contain the variables representing bubble color and size, and a key column to merge rows with the template. The key column should either be named "ukbb_id" and contain the UK Biobank Field ID for each variable (e.g. "23474") or named "ckb_id" and contain the China Kadoorie Biobank variable ID, (e.g. "nmr_bohbut").
merge_template(data, id)
data |
User dataset |
id |
Name of key column, either "ukbb_id" or "ckb_id" |
Merged dataset
data <- merge_template(cetp, "ckb_id")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.