devtools::load_all()
knitr::include_graphics('../img/lipid-fractions.pdf')
knitr::include_graphics('../img/glucose-metabolism.pdf')
[^lit]: @Giacca2011a; @Xiao2009a
[^cohorts]: @Wang2003a; @Forouhi2014a; @Kroger2011a; @Ma2015a; @Djousse2011a
Explore associations of fatty acid composition of serum lipid fractions on diabetes pathogenesis:
. . .
- NEFA: Higher total NEFA, not individual fatty acids, contribute to lower beta-cell function
- PL: Higher palmitic acid associates with declines in beta-cell function over time. Higher cis-vaccenic acid associated with higher insulin sensitivity and beta-cell function.
- CE: No strong associates with diabetes pathogenesis
- TAG: ...
\vspace{-3cm} \raggedleft\includegraphics[width=0.11\textwidth]{../img/promise.jpg}
Calculated from OGTT:
. . .
Median declines of r calc_outcome_changes()$chg
. . .
Thin layer chromatography to split the lipid fractions, gas chromatography for the fatty acids:
plot_tagfa()
. . .
https://github.com/lwjohnst86/seminar2016
knitr::include_graphics('../img/share-code.png')
Variables GEE model:
Visit number, waist size, baseline age, ethnicity, sex, ALT (marker of liver fat), physical activity (MET), and total NEFA.
Time-independent: TAG, NEFA, baseline age, ethnicity, sex
. . .
- Concern: multiple models will be computed
- P-values: generally unreliable, especially with more tests[^1]
- Adjust using BH False Discovery Rate (FDR) correction
[^1]: See the American Statistical Association statement on it
fit <- analyze_gee() num_sig <- paste0(nrow(dplyr::filter(fit, unadj.p.value < 0.05)), " non-FDR vs ", nrow(dplyr::filter(fit, p.value < 0.05)), " FDR")
r num_sig
of r nrow(fit)
models). . .
fit %>% dplyr::filter(unit %in% c('Totals', 'nmol/mL')) %>% plot_gee_main()
fit %>% dplyr::filter(unit %in% c('Totals', 'mol%')) %>% plot_gee_main()
. . .
grViz_Rmd(" digraph { node [shape = none] subgraph { rank = min; '14:0'; '16:0'; '18:0'; '20:0' } subgraph { rank = max; '14:1n7'; '16:1n7'; '18:1n9' } '14:0' -> {'16:0', '14:1n7'}; '16:0' -> {'18:0', '16:1n7'} '18:0' -> {'18:1n9', '20:0'}; '14:1n7' -> '16:1n7' } ")
analyze_corr() %>% plot_heatmap()
Takes:
$$ISI = 140 + 141n7 + ... + 225n3$$
Converts to:
$$ISI = Comp1 + Comp2$$
. . .
- PLS: No p-value, no p-value problem
- Cross-validation (CV) determines predictability
- CV randomly splits data into training and test sets
- Limitation: Can only use one time point (cross-sectional) and no covariates
fit_is <- analyze_pls(y = 'lISI', ncomp = 2) pred_is <- paste0( calc_pred_corr(fit_is, fit_is$test_data, ncomp = 1)$r, '-', calc_pred_corr(fit_is, fit_is$test_data, ncomp = 2)$r ) fit_bcf <- analyze_pls(y = 'lISSI2', ncomp = 2) pred_bcf <- paste0( calc_pred_corr(fit_bcf, fit_bcf$test_data, ncomp = 1)$r, '-', calc_pred_corr(fit_bcf, fit_bcf$test_data, ncomp = 2)$r ) gridExtra::grid.arrange( plot_pls(fit_is) + ggplot2::ggtitle(paste0('A: ISI\nPredictive: r = ', pred_is)), plot_pls(fit_bcf) + ggplot2::ggtitle(paste0('B: ISSI-2\nPredictive: r = ', pred_bcf)), ncol = 2)
. . .
[^prospect]: @Rhee2011a; @Lankinen2015a [^dnl]: @Lee2015a; @Wilke2009a
. . .
Code: https://github.com/lwjohnst86/seminar2016
\image[width=0.2\linewidth]{../img/CDA-logo2010} \hspace{1cm} \image[width=0.2\linewidth]{../img/CIHRlogos2013-Small} \hspace{1cm} \image[width=0.3\linewidth]{../img/BBDC-logo}
\tiny
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.