Genomic annotation of significant signals from GWAS / QTL
xQTLanno_genomic(snpInfo = "", p_cutoff = 5e-08, genomeVersion = "hg38")
A data.table/data.frame with three columns: chromosome, position, and P-value.
Cutoff of p-values of significant variants that will be annotated
"hg38" (default) or "hg19". Note: hg19 will be converted to hg38 automatically.
A data.table object of variants' genomics distribution
# \donttest{
url1 <- "http://bioinfo.szbl.ac.cn/xQTL_biolinks/xqtl_data/gwas/gwasSub.txt.gz"
snpInfo <- data.table::fread(url1, sep="\t")
snpHits <- xQTLanno_genomic(snpInfo)
# }