Performs bi-directional regression to determine putative causal direction between two traits.
1 2  | rhoge.bd(trait1, trait2, n1, n2, p1 = NA, p2 = NA, min_regions = 10,
  regions = grch37.eur.loci)
 | 
trait1 | 
 data.frame-like, containing TWAS results for trait 1  | 
trait2 | 
 data.frame-like, containing TWAS results for trait 2  | 
n1 | 
 integer, sample-size for trait 1 GWAS  | 
n2 | 
 integer, sample-size for trait 2 GWAS  | 
p1 | 
 double, Transcriptome-wide significance threshold for trait 1 ascertainment. Default is # Bonferroni adjusted 0.05  | 
p2 | 
 double, Transcriptome-wide significance threshold for trait 2 ascertainment. Default is # Bonferroni adjusted 0.05  | 
min_regions,  | 
 Minimum number of ascertained regions required for bi-directional regression  | 
regions,  | 
 data.frame-like containing approximate independent regions. Requires columns (Chr, Start, Stop). Default is estimated blocks in Europeans.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.