summary_set | R Documentation |
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
)
beta_gx |
Array of true effects on x |
beta_gy |
Array of true effects on y |
af |
Array of effect allele frequencies |
n_gx |
Sample size of g-x association |
n_gy |
Sample size of g-y association |
n_overlap |
Number of overlapping samples |
cor_xy |
Observational correlation between x and y |
prev_y |
Disease prevalence of y. Default = NA (in which case treated as continuous) |
sigma_x |
SD of x. Default=1 |
sigma_y |
SD of y. Default=1 |
Data frame of summary statistics for x and y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.