get_beta {cophescan}R 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


[Package cophescan version 1.4.1 Index]