R/panel_summarization.R
compute_inclusion_frequencies.RdCompute biomarker inclusion frequencies across optimisation runs.
compute_inclusion_frequencies(
panels,
feature_type = c("features", "base_features")
)List of OptimizationResult, BiomarkerPanelResult
objects, character vectors of biomarkers, or a mixture of these. A single
(unwrapped) OptimizationResult is also accepted.
One of "features" (default) or "base_features".
Controls whether transformed feature names (e.g. "A--B" for pairwise
ratios) or base feature names (genes) are counted. Only relevant for
OptimizationResult entries; BiomarkerPanelResult and character vector
entries always use their stored feature names.
Data frame with columns feature, count, and proportion.