Description Usage Arguments Value
View source: R/est_cause_params_future.R
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.
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
)
|
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. |
An object of class cause_params
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.