Methods
Public methods
DEAnalyse$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)
DEAnalyse$build_facade()
Build a facade by registry key via prolfqua::lookup_facade(), so facades registered by downstream packages (e.g. “saint”) work like the built-in ones. Backends with 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_impute", "limma", "saint")
-
modelstr
-
model formula string; auto-generated if NULL, ignored by SAINT-style backends
Returns
the facade object (invisibly)
DEAnalyse$build_default()
Build the default facade (as set in default_model)
Usage
DEAnalyse\$build_default()
DEAnalyse$get_annotated_contrasts()
Join default-model contrasts, and those passing filter_contrasts(), with protein row annotations.
Usage
DEAnalyse\$get_annotated_contrasts()
DEAnalyse$filter_contrasts()
Return contrast rows passing FDR and difference thresholds, as given by the contrast object’s filter_significant() (one-sided for directional backends such as SAINT).
Usage
DEAnalyse\$filter_contrasts()
DEAnalyse$clone()
The objects of this class are cloneable with this method.
Usage
DEAnalyse\$clone(deep = FALSE)
Arguments
-
deep
-
Whether to make a deep clone.