Skip to contents

Encapsulates everything needed to fit per-protein rank-based linear models via rfit and extract Wald contrasts. The fit is augmented (model frame, terms, rfit_prolfqua subclass) so it satisfies the same coef() / vcov() / terms() contract as lm.

Unlike StrategyLM, rfit takes no observation weights, so nr_children weighting is not supported by this backend.

Value

An R6 class generator.

See also

Other modelling: AnovaExtractor, Contrasts, ContrastsComparison, ContrastsDEqMSFacade, ContrastsDEqMSVoomFacade, ContrastsFacadeBase, ContrastsFirth, ContrastsFirthFacade, ContrastsHurdleFacade, ContrastsHurdleNestedFacade, ContrastsLMFacade, ContrastsLMImputeFacade, ContrastsLimma, ContrastsLimmaFacade, ContrastsLimmaImputeFacade, ContrastsLimmaVoomFacade, ContrastsLimmaVoomImputeFacade, ContrastsLimpaFacade, ContrastsLimpaNestedFacade, ContrastsLmerNestedFacade, ContrastsModerated, ContrastsModeratedDEqMS, ContrastsPlotter, ContrastsRLMFacade, ContrastsROPECA, ContrastsROPECANestedFacade, ContrastsROPECAV2, ContrastsROPECAV2NestedFacade, ContrastsRfitFacade, ContrastsRfitImputeFacade, ContrastsTable, INTERNAL_FUNCTIONS_BY_FAMILY, Model, ModelFirth, ModelLimma, StrategyLM, StrategyLimma, StrategyLimpa, StrategyLmer, StrategyLogistf, StrategyRLM, build_contrast_analysis(), build_model(), 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(), compute_borrowed_variance(), compute_borrowed_variance_limma(), df.residual.rfit_prolfqua(), group_label(), impute_from_model(), impute_refit_singular(), list_facades(), lookup_facade(), lr_test(), merge_contrasts_results(), new_imputed_model(), nobs.rfit_prolfqua(), pivot_model_contrasts_to_wide(), prolfqua_analysis_methods, register_facade(), sigma.rfit_prolfqua(), strategy_limma(), strategy_limpa(), strategy_logistf(), vcov.rfit_prolfqua()

Super class

StrategyBase -> StrategyRfit

Methods

Inherited methods


StrategyRfit$new()

Create a new StrategyRfit. Residual df and scale come from df.residual() and sigma() of the augmented fit.

Usage

StrategyRfit$new(modelstr, model_name = "rfit", control = list())

Arguments

modelstr

model formula string

model_name

name of model

control

named list of convergence controls, see strategy_rfit


StrategyRfit$clone()

The objects of this class are cloneable with this method.

Usage

StrategyRfit$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

strat <- StrategyRfit$new("Intensity ~ condition", model_name = "parallel design")
strat$formula
#> Intensity ~ condition
#> <environment: 0x614054b01068>