loadBamTrackFromLocalData: load GenomicAlignments data as an igv.js alignment track

View source: R/igvShiny.R

loadBamTrackFromLocalDataR Documentation

load GenomicAlignments data as an igv.js alignment track

Description

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"

Value

nothing

Examples

library(igvShiny)
demo_app_file <-
  system.file(package = "igvShiny", "demos", "igvShinyDemo.R")
if (interactive()) {
  shiny::runApp(demo_app_file)
}


paul-shannon/igvShiny documentation built on Nov. 17, 2024, 11:58 p.m.