Visualizing enriched variants
xQTLvisual_enrich(enrichHits, pValueBy = 10, plotType = "boxplot")
A data.table object from result of xQTLanno_enrich
Cutoff of pvlaue. Defaults: 5
"boxplot", or "density"
A ggplot object
# \donttest{
url1 <- "http://bioinfo.szbl.ac.cn/xQTL_biolinks/xqtl_data/gwas/gwasSub.txt.gz"
snpInfo <- fread(url1, sep="\t")
enrichHits <- xQTLanno_enrich(snpInfo, enrichElement="TF")
xQTLvisual_enrich(enrichHits, plotType="density")
# }