get_beta: Extract beta and p-values of queried variant

View source: R/copheplots.R

get_betaR Documentation

Extract beta and p-values of queried variant

Description

Extract beta and p-values of queried variant

Usage

get_beta(traits.dat, querysnpid, querytrait)

Arguments

traits.dat

list of coloc structured dataset

querysnpid

vector of querysnpid

querytrait

vector of querytrait names

Value

data.frame with one column named beta_plot: indicating beta direction (n/p) and another column named pval_plot with -log10(pval) of the queried variant


cophescan documentation built on June 22, 2024, 9:15 a.m.