Query variant with variant ID or dbSNP ID

xQTLquery_varId(variantName = "", variantType = "auto")

Arguments

variantName

(character) name of variant, dbsnp ID and variant id is supported, eg. "rs138420351" and "chr17_7796745_C_T_b38".

variantType

(character) options: "auto", "snpId" or "variantId". Default: "auto".

Value

A data.table object.

Examples

xQTLquery_varId("rs12596338")
xQTLquery_varId("chr11_66561248_T_C_b38")