ggbio_to_mb <- function(gg,
verbose = TRUE){
messager("++ Converting ggbio genomic units to Mb.", v = verbose)
gg <- gg +
ggbio::scale_x_sequnit(unit = "Mb")
return(gg)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.