| pqtl3dplotly {gap} | R Documentation |
3D pQTL plot
pqtl3dplotly(d, chrlen = gap::hg19, zmax = 300)
d |
Data in pqtl2d() format. |
chrlen |
Lengths of chromosomes for specific build: hg18, hg19, hg38. |
zmax |
Maximum -log10p to truncate, above which they would be set to this value. |
A plotly figure.
## Not run:
INF <- Sys.getenv("INF")
d <- read.csv(file.path(INF,"work","INF1.merge.cis.vs.trans"),as.is=TRUE)
r <- pqtl3dplotly(d,zmax=300)
htmlwidgets::saveWidget(r,file=file.path(INF,"INF1.pqtl3dplotly.html"))
r
## End(Not run)