This function plots the SHAP feature importance results of user-selected sample.
plot_shap_sample(shap_se, sample_id = 10)
A SummarizedExperiment object with results computed by ml_shap
.
Numeric. The number of samples to display for each feature. Default is 10
.
Return 1 interactive plot, 1 static plot, and 1 table.
interactive_sample_feature_importance & static_sample_feature_importance: SHAP feature importance plot.
table_sample_feature_importance: table for plotting SHAP feature importance.