Skip to contents

Fit a model

Run Mossy Forest feature selection, with modules supplied by you or detected with WGCNA.

mf()
Mossy Forest Feature Selection
wmf()
Mossy Forest with WGCNA Module Detection
mf_setup()
Configure the Python environment for Mossy Forest

Control parameters

Settings for the screening, selection and WGCNA steps.

screen_control()
Screening Step Parameters
select_control()
Selection Step Parameters
WGCNA_control()
WGCNA Parameter Organization

Work with a fitted object

print(<mossy_forest>)
Print a Mossy Forest Object
predict(<mossy_forest>)
Predict from a Mossy Forest Object
detect_interaction()
Detect Pairwise Interactions from a Mossy Forest Object

Feature importance plots

plot_importance()
Plot Feature Importance for a Mossy Forest Object
plot_signed_importance()
Plot Directional (Signed) Feature Importance for a Mossy Forest Object
plot_elbow()
Plot Elbow Plot of Absolute SHAP Values for a Mossy Forest Object

Stability and module plots

plot_stability()
Plot Shadow Stability Frequencies for a Mossy Forest Object
plot_stability_elbow()
Plot Shadow Stability Selection Curves for a Mossy Forest Object
plot_modules()
Plot Module Membership Distribution for a Mossy Forest Object

Plots for single observations

plot_waterfall()
Plot Waterfall for Specific Observations in a Mossy Forest Object
plot_force()
Plot SHAP Force Plot for Specific Observations in a Mossy Forest Object
plot_decisions()
Plot Decision Plot for a Mossy Forest Object

Interaction plots

plot_potential_interactions()
Plot Potential Interaction Matrix for a Mossy Forest Object

Data

leukemia
ALL Leukemia Gene Expression Data
wdi
World Development Indicators (2020)