Filter Significant Interactions
filterSignificantInteractions(
object,
pvalue_threshold = 0.05,
adjust_method = "metabolite_stratified",
min_score = 0
)scMetaLink object
Numeric. P-value threshold (default: 0.05)
Character. Multiple testing correction method: "BH", "bonferroni", "holm", "none", or "metabolite_stratified" (recommended, performs BH within each metabolite)
Numeric. Minimum communication score (default: 0)
Updated scMetaLink object
The adjust_method parameter controls how p-values are corrected for multiple testing:
"metabolite_stratified" (recommended): Performs BH correction within each metabolite, then combines results. This is less conservative than global correction and more biologically meaningful since metabolites are independent biological signals.
"BH", "bonferroni", "holm": Standard global correction methods. Can be very conservative when testing many interactions.
"none": No correction, uses raw p-values. Use with caution.