loadBedTrack | R Documentation |
load a bed track provided as a data.frame
loadBedTrack(
session,
id,
trackName,
tbl,
color = "",
trackHeight = 50,
deleteTracksOfSameName = TRUE,
quiet = TRUE
)
session |
an environment or list, provided and managed by shiny |
id |
character string, the html element id of this widget instance |
trackName |
character string |
tbl |
data.frame, with at least "chrom" "start" "end" columns |
color |
character string, a legal CSS color, or "random", "gray" by default |
trackHeight |
an integer, 50 (pixels) by default |
deleteTracksOfSameName |
logical, default TRUE |
quiet |
logical, default TRUE, controls verbosity |
nothing
library(igvShiny)
demo_app_file <-
system.file(package = "igvShiny", "demos", "igvShinyDemo.R")
if (interactive()) {
shiny::runApp(demo_app_file)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.