Description Usage Arguments Value
View source: R/est_cause_params.R
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 | est_cause_params(
X,
variants,
optmethod = c("mixSQP", "mixIP"),
null_wt = 10,
n_iter = 20,
max_candidates = Inf,
control = list()
)
|
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. |
max_candidates |
Maximum number of variance candidates for each trait. Maximum size of grid is max_candidates^2 |
control |
control parameters to be passed to ashr. Primarily for development use, most users can leave this unaltered. |
An object of class cause_params
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.