Description Usage Arguments Value Author(s)
View source: R/JAM_LogisticToLinearEffects.R
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.
1 2 3 4 5 6 7 8 |
log.ors |
Vector of SNP summary log-odds ratios |
log.or.ses |
Vector of the standard errors of the SNP log-odds ratios |
snp.genotype.sds |
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. |
mafs |
Vector of SNP minor allele frequencies. snp.sds if available would be the preferred option. |
n |
Size of dataset in which the log-odds ratios were calculated |
p.cases |
Proportion of cases in the dataset in which the log-odds ratios were calculated |
A vector of effects on the linear scale
Paul Newcombe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.