calculate_chi: Calculate posterior chi precision parameters

View source: R/mfa.R

calculate_chiR Documentation

Calculate posterior chi precision parameters

Description

Calculates a data frame of the MAP estimates of χ.

Usage

calculate_chi(m)

Arguments

m

A fit returned from mfa

Value

A data_frame with one entry for the feature names and one for the MAP estimates of chi (using the posterior.mode function from MCMCglmm).

Examples

synth <- create_synthetic(C = 20, G = 5)
m <- mfa(synth$X)
chi_map <- calculate_chi(m)

kieranrcampbell/mfa documentation built on March 27, 2022, 5:20 a.m.