Methods
Public methods
Method new()
Initialize DEAnalyse
Usage
DEAnalyse\$new(
lfq_data,
rowAnnot,
prolfq_app_config,
contrasts,
default_model = "lm_impute",
lfq_data_raw = NULL,
summary = NULL
)
Arguments
-
lfq_data
-
LFQData to model (transformed, at correct hierarchy level)
-
rowAnnot
-
ProteinAnnotation object
-
prolfq_app_config
-
ProlfquAppConfig object
-
contrasts
-
named vector of contrast definitions
-
default_model
-
facade registry key (default "lm_impute")
-
lfq_data_raw
-
raw (untransformed) LFQData for reporting (optional)
-
summary
-
data.frame with contaminant/decoy summary (optional)
Method build_facade()
Build a facade by registry key. Dispatches through prolfqua::lookup_facade() so any facade registered by a downstream package (e.g. prolfquasaint::ContrastsSAINTFacade registered as “saint”) is reachable the same way as the built-in prolfqua facades. SAINT-style backends that need the protein annotation (registry attribute needs_saint_annotation = TRUE) receive row_annot from self$rowAnnot.
Usage
DEAnalyse\$build_facade(name, modelstr = NULL)
Arguments
-
name
-
facade registry key (e.g. "lm", "lm_missing", "limma", "saint")
-
modelstr
-
model formula string; auto-generated if NULL. Ignored by facades whose backend derives contrasts from annotation (e.g. SAINT).
Returns
the facade object (invisibly)
Method build_default()
Build the default facade (as set in default_model)
Usage
DEAnalyse\$build_default()
Method get_annotated_contrasts()
Join default-model contrasts with protein row annotations. Significance filtering is delegated to contrast_obj$filter_significant(); backends with ContrastConfiguration$significance_directional = TRUE (e.g. SAINT) get one-sided filtering automatically.
Usage
DEAnalyse\$get_annotated_contrasts()
Method filter_contrasts()
Return contrast rows passing FDR and difference thresholds
Usage
DEAnalyse\$filter_contrasts()
Method clone()
The objects of this class are cloneable with this method.
Usage
DEAnalyse\$clone(deep = FALSE)
Arguments
-
deep
-
Whether to make a deep clone.