est_cause_params: Estimate CAUSE Nuisance Parameters

Description Usage Arguments Value

View source: R/est_cause_params.R

Description

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
est_cause_params(
  X,
  variants,
  optmethod = c("mixSQP", "mixIP"),
  null_wt = 10,
  n_iter = 20,
  max_candidates = Inf,
  control = list()
)

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.

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.

Value

An object of class cause_params


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