Skip to contents

Compute GLS estimates and p-values for loadings

Usage

gfa_loadings_gls(beta_hat, S, fit)

Arguments

beta_hat

Variants by traits matrix of association estimates. Traits should be in the same order as used to produce fitted gfa object. The variant set may be different than the variant set used to produce the fitted gfa object.

S

Variants by traits matrix of standard errors. Variants and traits should match variants and traits in beta_hat.

fit

Object produced by gfa_ft().

Value

A list with elements L (estimated loadings), S (standard errors for loadings), and P (p-values). All variant by factor matrices.