get_reference = function(ref)
{
if(ref %in% c("hg19", "GRCh37"))
return(CNAqc::chr_coordinates_hg19)
if(ref %in% c("hg38", "GRCh38"))
return(CNAqc::chr_coordinates_GRCh38)
stop("Available references: hg19 (or GRCh37), and hg38 (or GRCh38)")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.