all_weights#
- mofaflex.pl.all_weights(model, views=None, clip=(-1, 1), show_featurenames=False, figsize=None)#
Plot the weight matrices.
- Parameters:
model (
MOFAFLEX) – The MOFA-FLEX model.views (
str|Sequence[str] |None(default:None)) – The views to consider in the ranking. IfNone, plot all views.clip (
tuple[float,float] |None(default:(-1, 1))) – Weight value range to clip to.show_featurenames (
bool(default:False)) – Whether to show the feature names on the Y axis.figsize (
tuple[float,float] |None(default:None)) – Figure size in inches.
- Return type: