Visualizing enriched variants

xQTLvisual_enrich(enrichHits, pValueBy = 10, plotType = "boxplot")

Arguments

enrichHits

A data.table object from result of xQTLanno_enrich

pValueBy

Cutoff of pvlaue. Defaults: 5

plotType

"boxplot", or "density"

Value

A ggplot object

Examples

# \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")
# }