loadBamTrackFromLocalData | R Documentation |
load GenomicAlignments data as an igv.js alignment track
loadBamTrackFromLocalData(
session,
id,
trackName,
data,
deleteTracksOfSameName = TRUE,
displayMode = "EXPANDED"
)
session |
an environment or list, provided and managed by shiny |
id |
character string, the html element id of this widget instance |
trackName |
character string |
data |
GenomicAlignments object |
deleteTracksOfSameName |
logical, default TRUE |
displayMode |
character string, possible values are "EXPANDED"(default), "SQUISHED" or "COLLAPSED" |
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.