This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
library(igvShiny) | |
library(GenomicAlignments) | |
#---------------------------------------------------------------------------------------------------- | |
# we need a local directory to write files - for instance, a vcf file representing a genomic | |
# region of interest. we then tell shiny about that directory, so that shiny's built-in http server | |
# can serve up files we write there, ultimately consumed by igv.js | |
if(!dir.exists("tracks")) | |
dir.create("tracks") | |
addResourcePath("tracks", "tracks") |