compare_within_strata.Rd
Runs comparisons separately within each level of stratifying factor(s).
compare_within_strata( data, compare, ref, within, method, test, alpha, fdr_method, bf_threshold = 3 )
pepdiff_data object
Factor to compare
Reference level
Factor(s) to stratify by
Analysis method
Pairwise test (if applicable)
Significance threshold
FDR correction method
Combined results across strata