get_pQTLs: Retrieve protein quantitative trait loci (pQTLs) with summary...

View source: R/get_pQTLs.R

get_pQTLsR Documentation

Retrieve protein quantitative trait loci (pQTLs) with summary statistics

Description

Returns a formatted data.frame of variants for a given gene symbol, including summary statistics

Usage

get_pQTLs(gene_symbol, risk_frequency = TRUE, is_cis = TRUE)

Arguments

gene_symbol

Expects a character vector of length 1, containing the exact gene symbol.

risk_frequency

If TRUE, also includes the frequency of the risk allele in the output.

is_cis

If TRUE, only includes cis pQTLs in the output.

Value

A formatted data.frame containing all pQTLs for a given gene symbol, including summary statistics.

Examples

ACE2_pqtls <- get_pQTLs('ACE2',pQTL_list, is_cis=FALSE)

vincent10kd/polygenic documentation built on Feb. 25, 2024, 10:17 a.m.