condFstat {MRZero} | R Documentation |
Calculates conditional F-statistic for each risk factor using summarized data
Description
Internal function for calculating conditional F-statistics for the output condFstat
.
Usage
condFstat(.Bx, .Bxse, .nx, .ld, .cor.x)
Arguments
.Bx |
Beta-coefficient for genetic associations with the risk factors. |
.Bxse |
Standard error of genetic associations with the risk factors. |
.nx |
sample sizes used to compute genetic associations with the risk factors. |
.ld |
genetic variant correlation matrix |
.cor.x |
Risk factor correlation matrix |
Details
None.
Value
Conditional F-statistic for each exposure
Examples
condFstat(.Bx = cbind(ldlc, hdlc, trig), .Bxse = cbind(ldlcse, hdlcse, trigse),
.nx = rep(17723,3), .ld=diag(length(ldlc)), .cor.x=diag(3))
[Package MRZero version 0.2.0 Index]