factor_correlation

factor_correlation#

mofaflex.tl.factor_correlation(model)#

Calculate the correlation between factors.

Parameters:

model (MOFAFLEX) – The MOFA-FLEX model.

Return type:

dict[str, DataFrame]

Returns:

The correlation matrix for each group.