get_cor: Compute rho_ge

Description Usage Arguments Value

View source: R/inference.R

Description

Compute ρ_ge

Usage

1
2
get_cor(t1, t2, regions = grch37.eur.loci, min_regions = 10,
  nsamples = 10)

Arguments

t1

data.frame-like, TWAS results for trait1

t2

data.frame-like, TWAS results for trait2

regions

data.frame-like, Approximate independent regions. Requires columns (Chr, Start, Stop). Default is estimated blocks in Europeans.

min_regions

integer, Minimum number of independent regions for inference

nsamples

integer, Number of samples to perform for bootstrapping

Value

data.frame with estimates


bogdanlab/RHOGE documentation built on May 25, 2019, 3:24 p.m.