Output for the mossy_forest return type.
Usage
mossy_forest(
final_rf,
final_X,
module_membership,
WGCNA_object = NULL,
survivor_list,
selection_list,
final_shap,
shap_obj,
runtime,
feature_list = NULL,
stability_freq = NULL,
stability_data = NULL
)Arguments
- final_rf
Final
rangerobject fitted on the stable feature set.- final_X
Data frame of features in the stable set.
- module_membership
Data frame mapping each feature to its module.
- WGCNA_object
WGCNA output object, or
NULL.- survivor_list
Per module screening survivors.
- selection_list
Feature lists at each selection iteration.
- final_shap
Data frame of stable features with mean absolute SHAP, 95 percent CIs, and shadow stability frequencies.
- shap_obj
List with elements
shapley_values(signed SHAP matrix, samples x stable features) andinteraction_matrix(mean absolute TreeSHAP interaction matrix, stable features x stable features).NULLwhen unavailable. For binary classification, signed values (andfinal_shap'sdirection/dir_corr/signed_importance) describe the probability oflevels(y)[1], the first level of the outcome factor. Relevelyif you want a different reference class.- runtime
Named list of runtimes (seconds): Screen, Selection, Final_RF.
- feature_list
Data frame of the stable feature set with importance scores.
- stability_freq
Named numeric vector. Shadow subsample selection frequency per stable feature.
- stability_data
Data frame with per pool shadow stability curves used by
plot_stability_elbow. Columns arepool,rank,feature,freq,selected,threshold,elbow_rank.NULLif unavailable.