Model diagnostics

Author

M. Rolland

── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr     1.1.3     ✔ readr     2.1.4
✔ forcats   1.0.0     ✔ stringr   1.5.0
✔ ggplot2   3.4.4     ✔ tibble    3.2.1
✔ lubridate 1.9.3     ✔ tidyr     1.3.0
✔ purrr     1.0.2     
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag()    masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors

1 Intro

Here we show extensive model diagnostics for all models performed in phneols - cortisol - CBCL analysis.

2 Ewas

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 bp3      pool1 internalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 bp3      pool1 externalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 bpa      pool1 internalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 bpa      pool1 externalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 etpa     pool1 internalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 etpa     pool1 externalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 mepa     pool1 internalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 mepa     pool1 externalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 prpa     pool1 internalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 prpa     pool1 externalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 trcs     pool1 internalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 trcs     pool1 externalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 bp3      pool2 internalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 bp3      pool2 externalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 etpa     pool2 internalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 etpa     pool2 externalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 trcs     pool2 internalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 trcs     pool2 externalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 bps_cat  pool1 internalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 bps_cat  pool1 externalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 bupa_cat pool1 internalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 bupa_cat pool1 externalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 bps_cat  pool2 internalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 bps_cat  pool2 externalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 bupa_cat pool2 internalizing_sqrt

# A tibble: 1 × 3
  compound pool  score             
  <chr>    <chr> <chr>             
1 bupa_cat pool2 externalizing_sqrt

# A tibble: 1 × 3
  compound  pool  score             
  <chr>     <chr> <chr>             
1 bpa_quart pool2 internalizing_sqrt

# A tibble: 1 × 3
  compound  pool  score             
  <chr>     <chr> <chr>             
1 bpa_quart pool2 externalizing_sqrt

# A tibble: 1 × 3
  compound   pool  score             
  <chr>      <chr> <chr>             
1 mepa_quart pool2 internalizing_sqrt

# A tibble: 1 × 3
  compound   pool  score             
  <chr>      <chr> <chr>             
1 mepa_quart pool2 externalizing_sqrt

# A tibble: 1 × 3
  compound   pool  score             
  <chr>      <chr> <chr>             
1 prpa_quart pool2 internalizing_sqrt

# A tibble: 1 × 3
  compound   pool  score             
  <chr>      <chr> <chr>             
1 prpa_quart pool2 externalizing_sqrt

3 Ewas by cohort

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 bp3      pool1 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 bp3      pool1 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 bpa      pool1 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 bpa      pool1 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 etpa     pool1 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 etpa     pool1 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 mepa     pool1 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 mepa     pool1 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 prpa     pool1 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 prpa     pool1 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 trcs     pool1 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 trcs     pool1 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 bp3      pool2 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 bp3      pool2 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 etpa     pool2 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 etpa     pool2 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 trcs     pool2 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 trcs     pool2 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 bps_cat  pool1 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 bps_cat  pool1 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 bupa_cat pool1 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 bupa_cat pool1 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 bps_cat  pool2 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 bps_cat  pool2 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 bupa_cat pool2 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score              data                 
  <chr>    <chr> <chr>              <list>               
1 bupa_cat pool2 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound  pool  score              data                 
  <chr>     <chr> <chr>              <list>               
1 bpa_quart pool2 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound  pool  score              data                 
  <chr>     <chr> <chr>              <list>               
1 bpa_quart pool2 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound   pool  score              data                 
  <chr>      <chr> <chr>              <list>               
1 mepa_quart pool2 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound   pool  score              data                 
  <chr>      <chr> <chr>              <list>               
1 mepa_quart pool2 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound   pool  score              data                 
  <chr>      <chr> <chr>              <list>               
1 prpa_quart pool2 internalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound   pool  score              data                 
  <chr>      <chr> <chr>              <list>               
1 prpa_quart pool2 externalizing_sqrt <tibble [1,024 × 16]>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>

# A tibble: 1 × 4
  compound pool  score data  
  <chr>    <chr> <chr> <list>
1 <NA>     <NA>  <NA>  <NULL>