load GenomicAlignments data as an igv.js alignment track
Source:R/igvShiny.R
loadBamTrackFromLocalData.Rd
load GenomicAlignments data as an igv.js alignment track
Usage
loadBamTrackFromLocalData(
session,
id,
trackName,
data,
deleteTracksOfSameName = TRUE,
displayMode = "EXPANDED"
)
Arguments
- 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"
Examples
library(igvShiny)
demo_app_file <-
system.file(package = "igvShiny", "demos", "igvShinyDemo.R")
if (interactive()) {
shiny::runApp(demo_app_file)
}