in vitro primary microglia

Data analysis of in vitro microglia secretion of IL-6 and TNFa protein into the cell culture supernatant in response to a 12 hour LPS and IFNg treatment. For each independent culture experiment the control was set to one and log normalized.

Samples

## , ,  = Ctx
## 
##      
##       E18 Adult
##   CON   5     4
##   MIA   5     4
## 
## , ,  = Str
## 
##      
##       E18 Adult
##   CON   4     4
##   MIA   4     4
data2 <- pivot_longer(data, cols = starts_with("Log2"), names_to = "cytokine", values_to = "log2FC")

data2 %>% filter(Group=="MIA" & Region=="Ctx") %>% ggplot(., aes(x=Age, y=log2FC, color = cytokine, group = cytokine)) + geom_point(aes(group = cytokine), position = position_jitterdodge(dodge.width=0.7, jitter.width = 0.15), size = 3) + geom_hline(yintercept = 0) + stat_summary(fun.data=mean_se, color="black", shape = 3, size=1, position = position_dodge(width = 0.5)) + ylim(-1.3, 1.3) + labs(y="FC (log2)") + theme(legend.position ="none") + labs(subtitle = "cortex") + theme_cowplot() + scale_color_manual(values = c("red", "red4"))

data2 %>% filter(Group=="MIA" & Region=="Str") %>% ggplot(., aes(x=Age, y=log2FC, color = cytokine, group = cytokine)) + geom_point(aes(group = cytokine), position = position_jitterdodge(dodge.width=0.7, jitter.width = 0.15), size = 3) + geom_hline(yintercept = 0) + stat_summary(fun.data=mean_se, color="black", shape = 3, size=1, position = position_dodge(width = 0.5)) + ylim(-1.3, 1.3) + labs(y="FC (log2)") + theme(legend.position ="none") + labs(subtitle = "striatum") + theme_cowplot() + scale_color_manual(values = c("red", "red4"))

# Effect of Sex

data2 %>% filter(Group=="MIA" & Region=="Ctx") %>% ggplot(., aes(x=Age, y=log2FC, color = Sex, group = cytokine)) + geom_point(aes(group = cytokine), position = position_jitterdodge(dodge.width=0.7, jitter.width = 0.15), size = 3) + geom_hline(yintercept = 0) + stat_summary(fun.data=mean_se, color="black", shape = 3, size=1, position = position_dodge(width = 0.5)) + ylim(-1.3, 1.3) + labs(y="FC (log2)") + theme(legend.position ="none") + labs(subtitle = "Ctx") + theme_cowplot() + scale_color_manual(values = c("deeppink2", "blue"))

data2 %>% filter(Group=="MIA" & Region=="Str") %>% ggplot(., aes(x=Age, y=log2FC, color = Sex, group = cytokine)) + geom_point(aes(group = cytokine), position = position_jitterdodge(dodge.width=0.7, jitter.width = 0.15), size = 3) + geom_hline(yintercept = 0) + stat_summary(fun.data=mean_se, color="black", shape = 3, size=1, position = position_dodge(width = 0.5)) + ylim(-1.3, 1.3) + labs(y="FC (log2)") + theme(legend.position ="none") + labs(subtitle = "Ctx") + theme_cowplot() + scale_color_manual(values = c("deeppink2", "blue"))

Shapiro-Wilk test for normality

## # A tibble: 4 x 5
##   Age   Region variable statistic     p
##   <fct> <chr>  <chr>        <dbl> <dbl>
## 1 E18   Ctx    Log2IL6      0.993 0.990
## 2 E18   Str    Log2IL6      0.911 0.486
## 3 Adult Ctx    Log2IL6      0.993 0.974
## 4 Adult Str    Log2IL6      0.902 0.443
## # A tibble: 4 x 5
##   Age   Region variable statistic     p
##   <fct> <chr>  <chr>        <dbl> <dbl>
## 1 E18   Ctx    Log2TNFa     0.971 0.881
## 2 E18   Str    Log2TNFa     0.907 0.468
## 3 Adult Ctx    Log2TNFa     0.877 0.328
## 4 Adult Str    Log2TNFa     0.862 0.269

Perform one-sample t-test

## IL-6
## Adding missing grouping variables: `Region`, `Age`
## # A tibble: 17 x 6
## # Groups:   Region, Age [4]
##    Region Age   Log2IL6    pval   stat    df
##    <chr>  <fct>   <dbl>   <dbl>  <dbl> <dbl>
##  1 Ctx    Adult -0.434  0.0603  -2.94      3
##  2 Ctx    Adult -0.599  0.0603  -2.94      3
##  3 Ctx    Adult -0.269  0.0603  -2.94      3
##  4 Ctx    Adult -0.0589 0.0603  -2.94      3
##  5 Ctx    E18   -0.621  0.401    0.939     4
##  6 Ctx    E18    0.651  0.401    0.939     4
##  7 Ctx    E18    0      0.401    0.939     4
##  8 Ctx    E18    1.07   0.401    0.939     4
##  9 Ctx    E18    0.251  0.401    0.939     4
## 10 Str    Adult -0.737  0.0463  -3.28      3
## 11 Str    Adult -0.269  0.0463  -3.28      3
## 12 Str    Adult -0.168  0.0463  -3.28      3
## 13 Str    Adult -0.621  0.0463  -3.28      3
## 14 Str    E18   -0.454  0.00396 -8.08      3
## 15 Str    E18   -0.786  0.00396 -8.08      3
## 16 Str    E18   -0.578  0.00396 -8.08      3
## 17 Str    E18   -0.515  0.00396 -8.08      3
## TNFa
## Adding missing grouping variables: `Region`, `Age`
## # A tibble: 17 x 6
## # Groups:   Region, Age [4]
##    Region Age   Log2TNFa   pval   stat    df
##    <chr>  <fct>    <dbl>  <dbl>  <dbl> <dbl>
##  1 Ctx    Adult   0.310  0.352  -1.10      3
##  2 Ctx    Adult  -0.578  0.352  -1.10      3
##  3 Ctx    Adult  -0.0893 0.352  -1.10      3
##  4 Ctx    Adult  -0.599  0.352  -1.10      3
##  5 Ctx    E18    -1.15   0.765   0.320     4
##  6 Ctx    E18    -0.218  0.765   0.320     4
##  7 Ctx    E18     0.345  0.765   0.320     4
##  8 Ctx    E18     1.28   0.765   0.320     4
##  9 Ctx    E18     0.390  0.765   0.320     4
## 10 Str    Adult  -0.621  0.0478 -3.24      3
## 11 Str    Adult  -0.252  0.0478 -3.24      3
## 12 Str    Adult  -0.252  0.0478 -3.24      3
## 13 Str    Adult  -0.889  0.0478 -3.24      3
## 14 Str    E18    -0.713  0.0316 -3.82      3
## 15 Str    E18    -0.474  0.0316 -3.82      3
## 16 Str    E18    -0.136  0.0316 -3.82      3
## 17 Str    E18    -0.644  0.0316 -3.82      3

Conclusion: Striatum microglia showed significantly less IL-6 and TNFa secretion at both E18 and Adult. Cortex microglia do not show a change in secretion at E18, and a mild IL-6 reduction in adult.

Reproducibility info

## [1] "2021-11-02 12:17:42 EDT"
## ─ Session info ───────────────────────────────────────────────────────────────
##  setting  value                       
##  version  R version 4.0.3 (2020-10-10)
##  os       macOS Big Sur 10.16         
##  system   x86_64, darwin17.0          
##  ui       X11                         
##  language (EN)                        
##  collate  en_US.UTF-8                 
##  ctype    en_US.UTF-8                 
##  tz       America/New_York            
##  date     2021-11-02                  
## 
## ─ Packages ───────────────────────────────────────────────────────────────────
##  package     * version date       lib source        
##  abind         1.4-5   2016-07-21 [1] CRAN (R 4.0.2)
##  assertthat    0.2.1   2019-03-21 [1] CRAN (R 4.0.2)
##  backports     1.2.1   2020-12-09 [1] CRAN (R 4.0.2)
##  broom         0.7.8   2021-06-24 [1] CRAN (R 4.0.2)
##  bslib         0.2.5.1 2021-05-18 [1] CRAN (R 4.0.2)
##  cachem        1.0.5   2021-05-15 [1] CRAN (R 4.0.2)
##  callr         3.7.0   2021-04-20 [1] CRAN (R 4.0.2)
##  car           3.0-11  2021-06-27 [1] CRAN (R 4.0.3)
##  carData       3.0-4   2020-05-22 [1] CRAN (R 4.0.2)
##  cellranger    1.1.0   2016-07-27 [1] CRAN (R 4.0.2)
##  cli           3.0.0   2021-06-30 [1] CRAN (R 4.0.2)
##  colorspace    2.0-2   2021-06-24 [1] CRAN (R 4.0.2)
##  cowplot     * 1.1.1   2020-12-30 [1] CRAN (R 4.0.2)
##  crayon        1.4.1   2021-02-08 [1] CRAN (R 4.0.2)
##  curl          4.3.2   2021-06-23 [1] CRAN (R 4.0.2)
##  data.table    1.14.0  2021-02-21 [1] CRAN (R 4.0.3)
##  DBI           1.1.1   2021-01-15 [1] CRAN (R 4.0.2)
##  dbplyr        2.1.1   2021-04-06 [1] CRAN (R 4.0.2)
##  desc          1.3.0   2021-03-05 [1] CRAN (R 4.0.2)
##  devtools      2.4.2   2021-06-07 [1] CRAN (R 4.0.2)
##  digest        0.6.27  2020-10-24 [1] CRAN (R 4.0.2)
##  dplyr       * 1.0.7   2021-06-18 [1] CRAN (R 4.0.2)
##  ellipsis      0.3.2   2021-04-29 [1] CRAN (R 4.0.2)
##  evaluate      0.14    2019-05-28 [1] CRAN (R 4.0.1)
##  fansi         0.5.0   2021-05-25 [1] CRAN (R 4.0.3)
##  farver        2.1.0   2021-02-28 [1] CRAN (R 4.0.2)
##  fastmap       1.1.0   2021-01-25 [1] CRAN (R 4.0.2)
##  forcats     * 0.5.1   2021-01-27 [1] CRAN (R 4.0.3)
##  foreign       0.8-81  2020-12-22 [1] CRAN (R 4.0.2)
##  fs            1.5.0   2020-07-31 [1] CRAN (R 4.0.2)
##  generics      0.1.0   2020-10-31 [1] CRAN (R 4.0.2)
##  ggplot2     * 3.3.5   2021-06-25 [1] CRAN (R 4.0.2)
##  glue          1.4.2   2020-08-27 [1] CRAN (R 4.0.2)
##  gtable        0.3.0   2019-03-25 [1] CRAN (R 4.0.2)
##  haven         2.4.1   2021-04-23 [1] CRAN (R 4.0.2)
##  highr         0.9     2021-04-16 [1] CRAN (R 4.0.2)
##  hms           1.1.0   2021-05-17 [1] CRAN (R 4.0.2)
##  htmltools     0.5.1.1 2021-01-22 [1] CRAN (R 4.0.2)
##  httr          1.4.2   2020-07-20 [1] CRAN (R 4.0.2)
##  jquerylib     0.1.4   2021-04-26 [1] CRAN (R 4.0.3)
##  jsonlite      1.7.2   2020-12-09 [1] CRAN (R 4.0.2)
##  knitr         1.33    2021-04-24 [1] CRAN (R 4.0.2)
##  labeling      0.4.2   2020-10-20 [1] CRAN (R 4.0.2)
##  lifecycle     1.0.0   2021-02-15 [1] CRAN (R 4.0.2)
##  lubridate     1.7.10  2021-02-26 [1] CRAN (R 4.0.2)
##  magrittr      2.0.1   2020-11-17 [1] CRAN (R 4.0.2)
##  memoise       2.0.0   2021-01-26 [1] CRAN (R 4.0.2)
##  modelr        0.1.8   2020-05-19 [1] CRAN (R 4.0.2)
##  munsell       0.5.0   2018-06-12 [1] CRAN (R 4.0.2)
##  openxlsx      4.2.4   2021-06-16 [1] CRAN (R 4.0.2)
##  pillar        1.6.1   2021-05-16 [1] CRAN (R 4.0.2)
##  pkgbuild      1.2.0   2020-12-15 [1] CRAN (R 4.0.3)
##  pkgconfig     2.0.3   2019-09-22 [1] CRAN (R 4.0.2)
##  pkgload       1.2.1   2021-04-06 [1] CRAN (R 4.0.2)
##  prettyunits   1.1.1   2020-01-24 [1] CRAN (R 4.0.2)
##  processx      3.5.2   2021-04-30 [1] CRAN (R 4.0.2)
##  ps            1.6.0   2021-02-28 [1] CRAN (R 4.0.2)
##  purrr       * 0.3.4   2020-04-17 [1] CRAN (R 4.0.2)
##  R6            2.5.0   2020-10-28 [1] CRAN (R 4.0.2)
##  Rcpp          1.0.7   2021-07-07 [1] CRAN (R 4.0.3)
##  readr       * 1.4.0   2020-10-05 [1] CRAN (R 4.0.2)
##  readxl        1.3.1   2019-03-13 [1] CRAN (R 4.0.2)
##  remotes       2.4.0   2021-06-02 [1] CRAN (R 4.0.2)
##  reprex        2.0.0   2021-04-02 [1] CRAN (R 4.0.2)
##  rio           0.5.27  2021-06-21 [1] CRAN (R 4.0.2)
##  rlang         0.4.11  2021-04-30 [1] CRAN (R 4.0.2)
##  rmarkdown     2.9     2021-06-15 [1] CRAN (R 4.0.2)
##  rprojroot     2.0.2   2020-11-15 [1] CRAN (R 4.0.2)
##  rstatix     * 0.7.0   2021-02-13 [1] CRAN (R 4.0.2)
##  rstudioapi    0.13    2020-11-12 [1] CRAN (R 4.0.2)
##  rvest         1.0.0   2021-03-09 [1] CRAN (R 4.0.3)
##  sass          0.4.0   2021-05-12 [1] CRAN (R 4.0.2)
##  scales        1.1.1   2020-05-11 [1] CRAN (R 4.0.2)
##  sessioninfo   1.1.1   2018-11-05 [1] CRAN (R 4.0.2)
##  stringi       1.6.2   2021-05-17 [1] CRAN (R 4.0.2)
##  stringr     * 1.4.0   2019-02-10 [1] CRAN (R 4.0.2)
##  testthat      3.0.4   2021-07-01 [1] CRAN (R 4.0.2)
##  tibble      * 3.1.2   2021-05-16 [1] CRAN (R 4.0.2)
##  tidyr       * 1.1.3   2021-03-03 [1] CRAN (R 4.0.2)
##  tidyselect    1.1.1   2021-04-30 [1] CRAN (R 4.0.2)
##  tidyverse   * 1.3.1   2021-04-15 [1] CRAN (R 4.0.2)
##  usethis       2.0.1   2021-02-10 [1] CRAN (R 4.0.2)
##  utf8          1.2.1   2021-03-12 [1] CRAN (R 4.0.3)
##  vctrs         0.3.8   2021-04-29 [1] CRAN (R 4.0.2)
##  withr         2.4.2   2021-04-18 [1] CRAN (R 4.0.2)
##  xfun          0.24    2021-06-15 [1] CRAN (R 4.0.2)
##  xml2          1.3.2   2020-04-23 [1] CRAN (R 4.0.2)
##  yaml          2.2.1   2020-02-01 [1] CRAN (R 4.0.2)
##  zip           2.2.0   2021-05-31 [1] CRAN (R 4.0.2)
## 
## [1] /Library/Frameworks/R.framework/Versions/4.0/Resources/library