Combine technical replicates
combine_tech_reps.RdExplicitly combines technical replicates by averaging values within each combination of peptide, factors, and biological replicate.
Examples
if (FALSE) { # \dontrun{
# Import data with technical replicates
dat <- read_pepdiff(..., tech_rep = "tech_rep")
# Combine by averaging
dat <- combine_tech_reps(dat)
# Or combine by taking median
dat <- combine_tech_reps(dat, fun = median)
} # }