condFstat function

Calculates conditional F-statistic for each risk factor using summarized data

Calculates conditional F-statistic for each risk factor using summarized data

Internal function for calculating conditional F-statistics for the output condFstat.

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

Returns

Conditional F-statistic for each exposure

Details

None.

Examples

condFstat(.Bx = cbind(ldlc, hdlc, trig), .Bxse = cbind(ldlcse, hdlcse, trigse), .nx = rep(17723,3), .ld=diag(length(ldlc)), .cor.x=diag(3))
  • Maintainer: Stephen Burgess
  • License: GPL-2 | GPL-3
  • Last published: 2024-04-12

Useful links