load a VCF (variant) track provided as a Bioconductor VariantAnnotation object
Source:R/igvShiny.R
loadVcfTrack.Rd
load a VCF (variant) track provided as a Bioconductor VariantAnnotation object
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
Examples
library(igvShiny)
demo_app_file <-
system.file(package = "igvShiny", "demos", "igvShinyDemo-withVCF.R")
if (interactive()) {
shiny::runApp(demo_app_file)
}