mossyforest: Network Aware Stability Selection with Random Forests

An interpretable, network aware random forest feature selection framework for high dimensional and correlated data. It combines module stratified recursive feature elimination, shadow stability selection, and TreeSHAP (Tree SHapley Additive exPlanations) importance, with modules either provided by the user or derived with WGCNA (weighted gene co expression network analysis). The default backend requires a 'Python' environment with 'scikit-learn', 'shap', and 'numpy', which can be configured with mf_setup(). A pure 'R' backend based on 'ranger' is also available.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: grDevices, reticulate (≥ 1.35), ranger (≥ 0.16.0), shapviz (≥ 0.9.4), ggplot2 (≥ 3.4.0), dplyr (≥ 1.1.0), scales (≥ 1.3.0), stats, utils, lifecycle, withr
Suggests: WGCNA, treeshap, knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-11-20
DOI: 10.32614/CRAN.package.mossyforest (may not be active yet)
Author: Timothy Shen [aut, cre, cph], Christina Ramirez [aut]
Maintainer: Timothy Shen <tzshen at g.ucla.edu>
BugReports: https://github.com/timothyzshen/mossyforest/issues
License: GPL (≥ 3)
URL: https://github.com/timothyzshen/mossyforest, https://github.com/timothyzshen/mossyforest-py, https://timothyzshen.github.io/mossyforest/
NeedsCompilation: no
SystemRequirements: Python (>= 3.9) with scikit-learn, shap, and numpy
Materials: README, NEWS
CRAN checks: mossyforest results

Documentation:

Reference manual: mossyforest.html , mossyforest.pdf
Vignettes: Getting started with mossyforest (source)

Downloads:

Package source: mossyforest_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mossyforest to link to this page.