Holds the fields and delegating methods shared by every facade in
ContrastsFacades.R and ContrastsChildToParentFacades.R.
Subclasses implement the unique pipeline wiring in initialize(): they
call the private .setup() (input-shape check, self$.lfqdata,
self$.contrast_names, self$facade_name), then build the model
and the inner contrast object. get_config() defaults to the inner
contrast object's configuration. The limma family additionally sets
self$.drop_na_diff <- TRUE to drop rows whose fold change could not be
estimated.
get_contrasts() delegates to the inner contrast object and then stamps
the facade key into modelName via .stamp_facade_identity();
rescue/imputation state is carried in the estimate_type column set by
the inner contrast classes.
See also
Other modelling:
AnovaExtractor,
Contrasts,
ContrastsDEqMSFacade,
ContrastsDEqMSVoomFacade,
ContrastsFirth,
ContrastsFirthFacade,
ContrastsFirthNestedFacade,
ContrastsHurdleFacade,
ContrastsHurdleNestedFacade,
ContrastsLMFacade,
ContrastsLMImputeFacade,
ContrastsLimma,
ContrastsLimmaFacade,
ContrastsLimmaImputeFacade,
ContrastsLimmaVoomFacade,
ContrastsLimmaVoomImputeFacade,
ContrastsLimpaFacade,
ContrastsLimpaNestedFacade,
ContrastsLmerNestedFacade,
ContrastsModerated,
ContrastsModeratedDEqMS,
ContrastsPlotter,
ContrastsRLMFacade,
ContrastsROPECA,
ContrastsROPECANestedFacade,
ContrastsRfitFacade,
ContrastsRfitImputeFacade,
ContrastsTable,
INTERNAL_FUNCTIONS_BY_FAMILY,
LR_test(),
Model,
ModelFirth,
ModelLimma,
StrategyLM,
StrategyLimma,
StrategyLimpa,
StrategyLmer,
StrategyLogistf,
StrategyRLM,
StrategyRfit,
build_contrast_analysis(),
build_model(),
build_model_glm_peptide(),
build_model_glm_protein(),
build_model_impute(),
build_model_limma(),
build_model_limma_impute(),
build_model_limma_voom(),
build_model_limma_voom_impute(),
build_model_limpa(),
build_model_logistf(),
compute_borrowed_variance(),
compute_borrowed_variance_limma(),
compute_contrast(),
compute_lmer_contrast(),
df.residual.rfit_prolfqua(),
get_anova_df(),
get_complete_model_fit(),
get_p_values_pbeta(),
group_label(),
impute_from_model(),
impute_refit_singular(),
linfct_from_model(),
linfct_matrix_contrasts(),
list_facades(),
lookup_facade(),
merge_contrasts_results(),
model_analyse(),
model_summary(),
moderated_p_deqms(),
moderated_p_deqms_long(),
moderated_p_limma(),
new_imputed_model(),
pivot_model_contrasts_to_wide(),
register_facade(),
sigma.rfit_prolfqua(),
sim_build_models_lm(),
sim_build_models_lmer(),
sim_build_models_logistf(),
sim_make_model_lm(),
sim_make_model_lmer(),
strategy_limma(),
strategy_limpa(),
strategy_logistf(),
summary_ROPECA_median_p_scaled(),
vcov.rfit_prolfqua()
Super class
ContrastsInterface -> ContrastsFacadeBase
Public fields
modelfitted model object
contrastinner contrast object the facade delegates to
.lfqdatastored reference to the input LFQData (used by get_missing)
.contrast_namesnames of the requested contrasts
facade_nameregistry key stamped into the modelName column
.drop_na_diffdrop rows with NA diff (limma family); default FALSE
Methods
ContrastsFacadeBase$get_config()
get the ContrastConfiguration; defaults to
the inner contrast object's configuration
ContrastsFacadeBase$get_Plotter()
get ContrastsPlotter
Examples
facade <- ContrastsFacadeBase$new()
inherits(facade, "ContrastsFacadeBase")
#> [1] TRUE