Moderate p-value for long table

moderated_p_limma_long(
  mm,
  group_by_col = "lhs",
  estimate = "estimate",
  robust = FALSE
)

Arguments

mm

result of contrasts_linfct

group_by_col

colnames with contrast description - default 'lhs'

Examples


mod <- sim_build_models_lm()
#> creating sampleName from fileName column
#> completing cases
#> Joining with `by = join_by(protein_Id)`
m <- get_complete_model_fit(mod$modelDF)
factor_contrasts <- linfct_factors_contrasts(m$linear_model[[1]])
factor_levelContrasts <- contrasts_linfct(
  mod$modelDF,
  factor_contrasts,
  subject_Id = "protein_Id",
  contrastfun = my_contrast_V2)
#> computing contrasts.

mmm <- moderated_p_limma_long(factor_levelContrasts, group_by_col = "lhs")