View source: R/mr_mvivw-methods.R
condFstat | R Documentation |
Internal function for calculating conditional F-statistics for the output condFstat
.
condFstat(.Bx, .Bxse, .nx, .ld, .cor.x)
.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 |
None.
Conditional F-statistic for each exposure
condFstat(.Bx = cbind(ldlc, hdlc, trig), .Bxse = cbind(ldlcse, hdlcse, trigse),
.nx = rep(17723,3), .ld=diag(length(ldlc)), .cor.x=diag(3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.