zoom in or out to show the nominated region, by chromosome locus or gene symbol
return the current region displayed by your igv instance
Usage
showGenomicRegion(session, id, region)
# S4 method for class 'ANY'
showGenomicRegion(session, id, region)
getGenomicRegion(session, id)
# S4 method for class 'ANY'
getGenomicRegion(session, id)Details
showGenomicRegion, getGenomicRegion and
removeTracksByName are S4 generics dispatching on their first
argument. The default method (signature "ANY") handles a shiny
session (a ShinySession, a module session_proxy or any
object with a sendCustomMessage method), so packages that build on
igvShiny can add methods for their own classes without masking these
functions.
Examples
library(igvShiny)
demo_app_file <-
system.file(package = "igvShiny", "showcase", "igvShinyDemo.R")
if (interactive()) {
shiny::runApp(demo_app_file)
}
library(igvShiny)
demo_app_file <-
system.file(package = "igvShiny", "showcase", "igvShinyDemo.R")
if (interactive()) {
shiny::runApp(demo_app_file)
}