loadGwasTrack: load a GWAS (genome-wide association study) track provided as...

View source: R/igvShiny.R

loadGwasTrackR Documentation

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

Description

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)
}


paul-shannon/igvShiny documentation built on Nov. 17, 2024, 11:58 p.m.