reorder_factors: Re-orders factors in decreasing order of magnitude

View source: R/MegaLMM_functions.R

reorder_factorsR Documentation

Re-orders factors in decreasing order of magnitude

Description

Re-orders factors in decreasing order of magnitude

Usage

reorder_factors(MegaLMM_state, factor_order = NULL, drop_cor_threshold = 0.6)

Arguments

MegaLMM_state

output of sample_MegaLMM

factor_order

optional: vector or new orders for the factors. If Null, will be calculated

drop_cor_threshold

Factors correlated above this value (either F or U_F) will be dropped

See Also

sample_MegaLMM, plot.MegaLMM_state


deruncie/MegaLMM documentation built on June 10, 2025, 7:26 p.m.