est_cause_params_future: Estimate CAUSE Nuisance Parameters

Description Usage Arguments Value

View source: R/est_cause_params_future.R

Description

This is a development version of est_cause_params. It's performance is not as good as the exported function and we do not recomend that you use it. This function first estimates a causal effect using the modal estimator and then uses map_pi_rho_nonnull_eqg. Estimates bivariate distribution of summary statistics and rho, the correlation between summary statistics due to overlapping samples or population structure.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
est_cause_params_future(
  X,
  variants,
  sigma_g,
  qalpha = 1,
  qbeta = 10,
  optmethod = c("mixSQP", "mixIP"),
  sigma_g_pval = 0.001,
  null_wt = 10,
  max_candidates = Inf
)

Arguments

X

An object of class cause_data containing data for the two traits.

variants

A vector of variants to include. This list should be approximately LD pruned and include variants genome wide.

Value

An object of class cause_params


jean997/cause documentation built on Dec. 25, 2021, 10 p.m.