Skip to contents

load a VCF (variant) track provided as a Bioconductor VariantAnnotation object

Usage

loadVcfTrack(session, id, trackName, vcfData, 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

vcfData

VariantAnnotation object

deleteTracksOfSameName

logical, default TRUE

Value

nothing

Examples

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