est_mu {corrcoverage} | R Documentation |
Estimate the true effect at the causal variant using Z-scores and MAFs
Description
Estimate the true effect at the causal variant using Z-scores and MAFs
Usage
est_mu(z, f, N0, N1, W = 0.2)
Arguments
z |
Vector of marginal Z-scores |
f |
Minor allele frequencies |
N0 |
Number of controls |
N1 |
Number of cases |
W |
Prior for the standard deviation of the effect size parameter, beta, default 0.2 |
Value
Estimate of the true effect at the causal variant
Author(s)
Anna Hutchinson
Examples
nsnps <- 100
z_scores <- rnorm(nsnps, 0, 3) # simulate a vector of Z-scores
N0 <- 5000 # number of controls
N1 <- 5000 # number of cases
maf <- runif(nsnps, 0.05, 0.5)
est_mu(z = z_scores, f = maf, N0 = N0, N1 = N1)
[Package corrcoverage version 1.2.1 Index]