Initial CRAN release.
fit_distributions() fits candidate distributions (gamma, lognormal, normal,
inverse Gaussian, inverse gamma) to peptide abundance data
power_analysis() performs power analysis in two modes:
Three analysis questions supported via find parameter:
find = "sample_size": What N do I need for target power?find = "power": What's my power at given N?find = "effect_size": What's the minimum detectable effect?test = "wilcoxon", default)test = "bootstrap_t")test = "bayes_t")compute_missingness() calculates NA rates per peptidesimulate_with_missingness() incorporates missing data patterns in power simulationsapply_fdr = TRUE in per-peptide mode simulates whole-peptidome experiments
with Benjamini-Hochberg correctionprop_null for expected proportion of true nullsplot_density_overlay(): Observed histogram with fitted density curveplot_qq(): QQ plots for goodness-of-fit assessmentplot_power_heatmap(): N x effect size power lookup gridplot_power_vs_effect(): Power sensitivity at fixed Nplot_param_distribution(): Distribution of fit quality across peptidomeplot_missingness(): NA rate distribution and abundance vs missingnesson_fit_failure = "empirical" option uses bootstrap resampling when
parametric fitting fails