iframeJbrowse: Create iframe htmlwidget from a url.

Description Usage Arguments Note Examples

View source: R/trewjb.R

Description

Create a htmlwidget that containing a iframe view for Jbrowse from a url.

Usage

1
iframeJbrowse(link, width = NULL, height = NULL, elementId = NULL)

Arguments

link

Length-one character vector representing a url. It can be generagetd by getJbrowseLink.

width, height, elementId

Passed to htmlwidget.

Note

It seems that the built-in RStudio viewer does not support iframe element, thus please consider using a web browser instead.

Examples

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)
}

Marlin-Na/trewjb documentation built on May 7, 2019, 3:36 p.m.