getUrl,GWASTrack-method | R Documentation |
the url of the gwas table
## S4 method for signature 'GWASTrack'
getUrl(obj)
obj |
An object of class GWASTrack |
character
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.