loadBamTrackFromURL | R Documentation |
load a remote bam track
loadBamTrackFromURL(
session,
id,
trackName,
bamURL,
indexURL,
deleteTracksOfSameName = TRUE,
displayMode = "EXPANDED",
showAllBases = FALSE
)
session |
an environment or list, provided and managed by shiny |
id |
character string, the html element id of this widget instance |
trackName |
character string |
bamURL |
character string http url for the bam file, typically very large |
indexURL |
character string http url for the bam file index, typically small |
deleteTracksOfSameName |
logical, default TRUE |
displayMode |
character string, possible values are "EXPANDED"(default), "SQUISHED" or "COLLAPSED" |
showAllBases |
logical, show all bases in the alignment, default FALSE |
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.