loadCramTrackFromURL: load a cram track which, with index, is served up by http

View source: R/igvShiny.R

loadCramTrackFromURLR Documentation

load a cram track which, with index, is served up by http

Description

load a remote cram track

Usage

loadCramTrackFromURL(
  session,
  id,
  trackName,
  cramURL,
  indexURL,
  deleteTracksOfSameName = TRUE
)

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

cramURL

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

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 April 25, 2024, 7:38 a.m.