Learn R Programming

xQTLbiolinks (version 1.6.2)

xQTLanno_genomic: annotate all signals in GWAS / QTL dataset by genome location

Description

annotate all signals in GWAS / QTL dataset by genome location

Usage

xQTLanno_genomic(snpInfo = "", p_cutoff = 5e-08, genomeVersion = "hg38")

Value

A data.table object of variants' genomics distribution

Arguments

snpInfo

A data.table/data.frame with three columns: chromosome, position, and P-value.

p_cutoff

Cutoff of p-values of significant variants that will be annotated

genomeVersion

"hg38" (default) or "hg19". Note: hg19 will be converted to hg38 automatically.