Skip to contents

the url of the gwas table

Usage

# S4 method for GWASTrack
getUrl(obj)

Arguments

obj

An object of class GWASTrack

Value

character

Examples

file <-
  # a local gwas file
  system.file(package = "igvShiny", "extdata", "gwas-5k.tsv.gz")
tbl.gwas <- read.table(file,
                       sep = "\t",
                       header = TRUE,
                       quote = "")
track <-
  GWASTrack(
    "gwas 5k",
    tbl.gwas,
    chrom.col = 12,
    pos.col = 13,
    pval.col = 28
  )
getUrl(track)
#> [1] "/tmp/RtmplDjxGJ/tracks/file175322deda1f.gwas"