JAM_LogisticToLinearEffects.Rd
Given marginal log-ORs and corresponding MAFs, this function infers the effect estimates that would have been obtained running one-at-a-time linear regressions of the binary outcome. This conversion is required for JAM since it is based on a linear regression model.
JAM_LogisticToLinearEffects(
log.ors = NULL,
log.or.ses = NULL,
snp.genotype.sds = NULL,
mafs = NULL,
n = NULL,
p.cases = NULL
)
Vector of SNP summary log-odds ratios
Vector of the standard errors of the SNP log-odds ratios
Vector of SNP genotype standard deviations. Please supply this or mafs. This is the preferred option since an assumption of Hardy-Weinberg Equilibrium is not required when reverse-stamdardising the effects during the transform.
Vector of SNP minor allele frequencies. snp.sds if available would be the preferred option.
Size of dataset in which the log-odds ratios were calculated
Proportion of cases in the dataset in which the log-odds ratios were calculated
A vector of effects on the linear scale