Generate beta hats from standardized or non-standardized direct SNP effects and LD
Source:R/gen_bhat_from_b.R
gen_bhat_from_b.Rd
Generate beta hats from standardized or non-standardized direct SNP effects and LD
Arguments
- b_joint
Matrix of joint effect sizes
- N
Sample size, scalar, vector, matrix, or data.frame. See
?sim_mv
for more details.- trait_corr
Matrix of population trait correlation (traits by traits)
- R_LD
LD pattern (optional). See
?sim_mv
for more details.- af
Allele frequencies (optional, allowed only if
R_LD
is missing). See?sim_mv
for more details.- est_s
Estimate standard errors?
- input_geno_scale
Genotype scale of effects in b_joint
- input_pheno_sd
Phenotype sd for effects in b_joint
- output_geno_scale
Output genotype scale
- output_pheno_sd
Output phenotype sd