Allows arbitrary sample overlap
summary_set(
beta_gx,
beta_gy,
af,
n_gx,
n_gy,
n_overlap,
cor_xy,
prev_y = NA,
sigma_x = 1,
sigma_y = 1
)
Array of true effects on x
Array of true effects on y
Array of effect allele frequencies
Sample size of g-x association
Sample size of g-y association
Number of overlapping samples
Observational correlation between x and y
Disease prevalence of y. Default = NA (in which case treated as continuous)
SD of x. Default=1
SD of y. Default=1
Data frame of summary statistics for x and y