R/tidyMS_stats.R
lfq_power_t_test_proteins.Rd
Compute theoretical sample sizes from factor level standard deviations
lfq_power_t_test_proteins(
stats_res,
delta = c(0.59, 1, 2),
power = 0.8,
sig.level = 0.05,
min.n = 1.5
)
bb1 <- prolfqua::sim_lfq_data_peptide_config()
#> creating sampleName from fileName column
#> completing cases
#> completing cases done
#> setup done
ldata <- LFQData$new(bb1$data, bb1$config)
stats_res <- summarize_stats(ldata$data, ldata$config)
#> completing cases
bb <- lfq_power_t_test_proteins(stats_res)