Description Usage Arguments Note Examples
Create a htmlwidget that containing a iframe view for Jbrowse from a url.
| 1 | 
| link | Length-one character vector representing a url. It can be generagetd by getJbrowseLink. | 
| width, height, elementId | Passed to htmlwidget. | 
It seems that the built-in RStudio viewer does not support iframe element, thus please consider using a web browser instead.
| 1 2 3 4 5 6 7 | if (interactive()) {
    url <- getJbrowseLink("hg19", "chr8", 92114847, 92231464,
        hight_start = 92150113, hight_end = 92152064,
        tracks = c("DNA", "gene_model", "all_m6A"),
        show_tracklist = TRUE, show_overview = TRUE)
    iframeJbrowse(url)
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.