Skip to contents

load a GWAS (genome-wide association study) track provided as a data.frame

Usage

loadGwasTrack(
  session,
  id,
  trackName,
  tbl.gwas,
  ymin = 0,
  ymax = 35,
  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

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

Value

nothing

Examples

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