Skip to content

Commit d42cdc9

Browse files
committed
Built site for prolfqua@1.6.2: 8151643
1 parent b4bb622 commit d42cdc9

53 files changed

Lines changed: 204 additions & 130 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

AGENTS.html

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AGENTS.md

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,32 @@ autoload is disabled.
6868
└── Returns a Facade with uniform API:
6969
$get_contrasts(), $get_missing(), $get_Plotter(), $to_wide()
7070

71-
### Facade Pattern (`ContrastsFacades.R`, `build_contrast_analysis.R`)
71+
### Facade Pattern (`ContrastsFacades.R`, `ContrastsChildToParentFacades.R`, `build_contrast_analysis.R`)
7272

7373
[`build_contrast_analysis()`](https://wolski.github.io/prolfqua/reference/build_contrast_analysis.md)
7474
is the recommended entry point. Each method dispatches to a Facade class
7575
that wires strategy → model → contrasts → moderation internally.
7676

77-
**Aggregated input** (protein-level, `subject_Id == hierarchy_keys`):
78-
`lm`, `rlm`, `lm_missing`, `lm_impute`, `limma`, `deqms`, `firth`
77+
The authoritative facade list is the `.seed_facade_registry()` table in
78+
`R/ContrastsFacades.R`; query it at runtime with `lookup_facade(name)`.
79+
Facades split by input/output hierarchy shape —
80+
`lookup_facade(name)$needs` returns one of two values:
7981

80-
**Nested input** (peptide-level, `subject_Id` is strict subset of
81-
`hierarchy_keys`): `lmer`, `ropeca`
82+
**`needs = "same"`** — facade emits contrasts at the same hierarchy
83+
level as its input (protein → protein FC, or peptide/precursor →
84+
peptide/precursor FC; `subject_Id == hierarchy_keys`). Lives in
85+
`R/ContrastsFacades.R`: `lm`, `rlm`, `lm_missing`, `lm_impute`, `limma`,
86+
`limma_impute`, `limma_voom`, `limma_voom_impute`, `deqms`,
87+
`deqms_voom`, `firth`, `limpa`
88+
89+
**`needs = "nested"`** — facade takes child-level input
90+
(peptide/precursor) and emits parent-level (protein) contrasts;
91+
`subject_Id` is a strict subset of `hierarchy_keys`. Lives in
92+
`R/ContrastsChildToParentFacades.R`: `lmer_nested`, `ropeca_nested`,
93+
`firth_nested`, `limpa_nested`
94+
95+
There are no same-level `lmer`/`ropeca` facades — mixed-model and ROPECA
96+
analyses are nested-only.
8297

8398
### Weights & `nr_children`
8499

@@ -216,8 +231,8 @@ downstream packages.
216231
`options(prolfqua.vectorize = TRUE)` activates vectorized
217232
implementations of `compute_contrast` and `linfct_matrix_contrasts`
218233
(matrix multiplication instead of per-row loops). Affects all Wald test
219-
facades (lm, rlm, firth, lmer) and limma’s linfct path. Results are
220-
numerically identical. Default is `FALSE`.
234+
facades (lm, rlm, firth, firth_nested, lmer_nested) and limma’s linfct
235+
path. Results are numerically identical. Default is `FALSE`.
221236

222237
## Testing
223238

CLAUDE.html

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CLAUDE.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,25 @@ autoload is disabled.
7474
is the recommended entry point. Each method dispatches to a Facade class
7575
that wires strategy → model → contrasts → moderation internally.
7676

77-
Facades split by input/output hierarchy shape:
78-
79-
**Aggregated input** (same-level, protein → protein FC;
80-
`subject_Id == hierarchy_keys`) — `R/ContrastsFacades.R`: `lm`, `rlm`,
81-
`lm_missing`, `lm_impute`, `limma`, `limma_impute`, `limma_voom`,
82-
`limma_voom_impute`, `deqms`, `deqms_voom`, `firth`, `limpa`
83-
84-
**Nested input** (child → parent, peptide/precursor → protein FC;
85-
`subject_Id` is strict subset of `hierarchy_keys`) —
77+
Facades split by input/output hierarchy shape.
78+
`lookup_facade(name)$needs` returns one of two values:
79+
80+
**`needs = "same"`** — facade emits contrasts at the same hierarchy
81+
level as its input (protein → protein FC, or peptide/precursor →
82+
peptide/precursor FC; `subject_Id == hierarchy_keys`). Lives in
83+
`R/ContrastsFacades.R`: `lm`, `rlm`, `lm_missing`, `lm_impute`, `limma`,
84+
`limma_impute`, `limma_voom`, `limma_voom_impute`, `deqms`,
85+
`deqms_voom`, `firth`, `limpa`
86+
87+
**`needs = "nested"`** — facade takes child-level input
88+
(peptide/precursor) and emits parent-level (protein) contrasts;
89+
`subject_Id` is a strict subset of `hierarchy_keys`. Lives in
8690
`R/ContrastsChildToParentFacades.R`: `lmer_nested`, `ropeca_nested`,
8791
`firth_nested`, `limpa_nested`
8892

93+
Downstream dispatch convention: protein-level readers pair with `"same"`
94+
facades only; peptide-level readers pair with either.
95+
8996
### Weights & `nr_children`
9097

9198
`config$nr_children` names the column tracking child-feature counts

articles/Comparing2Groups.html

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/ContrastFacade2Factor.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/ContrastFacades.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/Contrasts_from_factors.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/CreatingConfigurations.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/DEqMS_Moderation.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)