Assumes that lead SNP is in the first row of the gene_df data frame (data frame is sorted by p-value).
Data frame of QTL snps (required column: gene_id)
gene_df data frame with R2 column added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.