loadGwasTrack | R Documentation |
load a GWAS (genome-wide association study) track provided as a data.frame
loadGwasTrack(
session,
id,
trackName,
tbl.gwas,
ymin = 0,
ymax = 35,
deleteTracksOfSameName = TRUE
)
session |
an environment or list, provided and managed by shiny |
id |
character string, the html element id of this widget instance |
trackName |
character string |
tbl.gwas |
data.frame, with at least "chrom" "start" "end" columns |
ymin |
numeric defaults to 0 |
ymax |
numeric defaults to 35 |
deleteTracksOfSameName |
logical, default TRUE |
nothing
library(igvShiny)
demo_app_file <-
system.file(package = "igvShiny", "demos", "igvShinyDemo.R")
if (interactive()) {
shiny::runApp(demo_app_file)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.