Generates a ridge plot and bar chart summarizing feature stability scores across assays.
Usage
plot_sensitivity_summary(
expomicset,
stability_score_thresh = NULL,
stability_metric = "stability_score",
title = "Distribution of Stability Scores"
)
Arguments
- expomicset
A
MultiAssayExperiment
object containing sensitivity analysis results inmetadata(expomicset)$sensitivity_analysis
.- stability_score_thresh
A numeric threshold for stability scores. Default is
NULL
, which uses the threshold stored inmetadata(expomicset)$sensitivity_analysis$score_thresh
.- stability_metric
A character string specifying which stability metric to plot (e.g., "stability_score", "logp_weighted_score"). Default is "stability_score".
- title
A character string specifying the title of the ridge plot. Default is "Distribution of Stability Scores".
Details
This function:
Extracts feature stability scores from
metadata(expomicset)$sensitivity_analysis$feature_stability
.Displays a ridge plot of stability score distributions per assay.
Displays a bar chart of the number of features per assay.
Prints the number of features with stability scores above the threshold.