Skip to content

Commit 1a6d4f9

Browse files
committed
Built site for prolfqua@1.5.0: ec13d52
1 parent 187d1a9 commit 1a6d4f9

43 files changed

Lines changed: 176 additions & 136 deletions

Some content is hidden

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

articles/Comparing2Groups.html

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

articles/Comparing2Groups.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ sessionInfo()
519519
##
520520
## loaded via a namespace (and not attached):
521521
## [1] gtable_0.3.6 xfun_0.56 bslib_0.10.0
522-
## [4] ggplot2_4.0.2 htmlwidgets_1.6.4 ggrepel_0.9.7
522+
## [4] ggplot2_4.0.2 htmlwidgets_1.6.4 ggrepel_0.9.8
523523
## [7] vctrs_0.7.1 tools_4.5.2 crosstalk_1.2.2
524524
## [10] generics_0.1.4 tibble_3.3.1 pkgconfig_2.0.3
525525
## [13] pheatmap_1.0.13 KernSmooth_2.23-26 data.table_1.18.2.1

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: 66 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/ContrastFacades.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,44 @@ results_protein |>
217217
## 10 firth WaldTestFirth OrL0ux~1369 -1.69 2.51e- 1 1
218218
## # ℹ 15 more rows
219219

220+
## Proteins dropped by lm but retained by limma
221+
222+
The `lm` facade filters proteins more strictly than limma — it requires
223+
all model coefficients to be estimable and at least 2 residual degrees
224+
of freedom. Limma handles partial missingness internally per row. Here
225+
we identify the proteins that limma reports but `lm` does not, and show
226+
their per-sample intensities.
227+
228+
``` r
229+
proteins_lm <- fa_lm$get_contrasts() |> dplyr::pull(protein_Id) |> unique()
230+
proteins_limma <- fa_limma$get_contrasts() |> dplyr::pull(protein_Id) |> unique()
231+
dropped <- setdiff(proteins_limma, proteins_lm)
232+
message("Proteins in limma but not in lm: ", length(dropped))
233+
```
234+
235+
``` r
236+
if (length(dropped) > 0) {
237+
lfq_protein$data |>
238+
dplyr::filter(protein_Id %in% dropped) |>
239+
dplyr::select(protein_Id, sampleName,
240+
!!rlang::sym(lfq_protein$config$get_response())) |>
241+
tidyr::pivot_wider(names_from = sampleName,
242+
values_from = !!rlang::sym(lfq_protein$config$get_response())) |>
243+
knitr::kable(digits = 2, caption = "Per-sample intensities of proteins dropped by lm")
244+
}
245+
```
246+
247+
| protein_Id | B_V1 | B_V4 | Ctrl_V3 | Ctrl_V4 | B_V2 | B_V3 | Ctrl_V2 |
248+
|:------------|-----:|-----:|--------:|--------:|-----:|-----:|--------:|
249+
| 8mS8sK~0150 | 3.85 | 3.76 | 3.37 | 3.55 | NA | NA | NA |
250+
| DTCi0N~0734 | NA | 4.28 | 4.07 | 4.21 | 4.37 | 4.35 | 4.06 |
251+
252+
Per-sample intensities of proteins dropped by lm
253+
254+
The missing cells (NA) explain why `lm` could not fit a full model for
255+
these proteins — they lack observations in one or more groups, so all
256+
coefficients cannot be estimated.
257+
220258
## Peptide-input facades
221259

222260
The mixed-effects `lmer` facade and `ropeca` require lower-level

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: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

articles/CreatingConfigurations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ sessionInfo()
253253
## [4] generics_0.1.4 tidyr_1.3.2 stringi_1.8.7
254254
## [7] digest_0.6.39 magrittr_2.0.4 evaluate_1.0.5
255255
## [10] grid_4.5.2 RColorBrewer_1.1-3 fastmap_1.2.0
256-
## [13] plyr_1.8.9 jsonlite_2.0.0 ggrepel_0.9.7
256+
## [13] plyr_1.8.9 jsonlite_2.0.0 ggrepel_0.9.8
257257
## [16] limma_3.66.0 prolfqua_1.5.0 gridExtra_2.3
258258
## [19] httr_1.4.8 purrr_1.2.1 viridisLite_0.4.3
259259
## [22] scales_1.4.0 UpSetR_1.4.0 lazyeval_0.2.2

articles/DEqMS_Moderation.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/DEqMS_Moderation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ sessionInfo()
314314
##
315315
## loaded via a namespace (and not attached):
316316
## [1] gtable_0.3.6 xfun_0.56 bslib_0.10.0
317-
## [4] htmlwidgets_1.6.4 ggrepel_0.9.7 lattice_0.22-7
317+
## [4] htmlwidgets_1.6.4 ggrepel_0.9.8 lattice_0.22-7
318318
## [7] vctrs_0.7.1 tools_4.5.2 generics_0.1.4
319319
## [10] tibble_3.3.1 pkgconfig_2.0.3 Matrix_1.7-4
320320
## [13] pheatmap_1.0.13 data.table_1.18.2.1 RColorBrewer_1.1-3

0 commit comments

Comments
 (0)