logo



Abstract

In vitro production of embryos (IVP) is a valuable technology to produce embryos of high genetic value. Despite advances in IVP, the efficiency of culture systems remains low. One method to increase IVP success is the early selection of oocytes or embryos that may have greater developmental potential. Here, we investigated two methods of selection, namely BCB staining and cleavage kinetics, both individually and in conjunction, for improved developmental outcomes in vitro. We hypothesized that a synergistic use of both BCB staining and cleavage kinetics would result in greater identification of embryos of greater developmental potential. The selection of oocytes by BCB staining does select for those oocytes with higher developmental potential, as noted by a greater blastocyst development between BCB positive (32.6%) and BCB negative (22.0%) on day 8 post-fertilization. However, the utilization of BCB staining and cleavage kinetics in tandem resulted in a complete masking of the effect observed when using BCB alone. We obtained the highest proportion of blastocyst development per selection group using cleavage kinetics alone, in which 53.1% of embryos grouped as Fast produced a blastocyst, which was significantly different from the three other groups (Fast+, Slow, not cleaved). We observed, however, that the separation of embryos by cleavage kinetics did not predict their survival to cryopreservation. In conclusion, in standard culture systems, cleavage kinetics is an effective method for the selection of embryos with increased developmental potential to develop blastocysts, however, it may not be effective to select healthy embryos for transfer following cryopreservation.


Code produced by Fernando Biase, Jada Nix and Mackenzie Marrella. We created this file to permit reproducibility of the findings described in the paper. Please direct questions to Fernando Biase: fbiase at vt.edu

Libraries used

library(tidyverse, quietly = TRUE)
library(aod, quietly = TRUE)
library(car, quietly = TRUE)
library(emmeans, quietly = TRUE)
library(multcomp, quietly = TRUE)
library(lme4, quietly = TRUE)

BCB staining

Cleavage

Load the data for analysis

Input_Cleavage = ("
Replicate Drop Group C NC
A 1 BCB+ 18 7 
A 2 BCB+ 22 3
A 1 BCB- 13 12
A 2 BCB- 17 8
A 3 BCB- 19 6
A 5 BCB- 14 11
A 6 BCB- 11 4
A 1 Control 7 8
A 2 Control 14 10
A 3 Control 9 9
B 1 BCB+ 17 8 
B 2 BCB+ 15 9
B 1 BCB- 17 8
B 2 BCB- 19 6
B 3 BCB- 7 5
B 1 Control 19 6
B 3 Control 2 4
C 2 BCB- 19 6 
C 3 BCB- 20 5
C 4 BCB- 11 7
C 1 Control 16 9
C 2 Control 18 7
C 3 Control 4 2
D 1 BCB+ 23 2 
D 2 BCB+ 7 2
D 1 BCB- 21 4
D 2 BCB- 14 8
D 2 Control 10 15
E 1 BCB+ 19 6 
E 2 BCB+ 21 4
E 1 BCB- 17 8
E 2 BCB- 22 3
E 3 BCB- 16 9
E 4 BCB- 18 7
E 5 BCB- 7 7
E 1 Control 14 11
E 2 Control 15 10
E 3 Control 1 2
F 1 BCB+ 17 8 
F 2 BCB+ 15 10
F 3 BCB+ 16 14
F 1 BCB- 19 6
F 3 BCB- 20 5
F 4 BCB- 20 5
F 5 BCB- 10 6
G 1 BCB+ 18 7 
G 2 BCB+ 24 4
G 1 Control 21 9
G 2 Control 17 8
H 1 BCB+ 20 5 
H 2 BCB+ 20 5
H 3 BCB+ 15 3
H 1 BCB- 18 12
H 2 BCB- 13 17
H 3 BCB- 20 5
H 4 BCB- 19 6
H 5 BCB- 17 8
H 6 BCB- 17 7
H 1 Control 20 5
H 2 Control 20 5
H 3 Control 15 2
I 1 BCB+ 21 9 
I 2 BCB+ 23 7
I 3 BCB+ 18 7
I 4 BCB+ 18 6
I 1 BCB- 20 10
I 2 BCB- 25 5
I 3 BCB- 19 6
I 4 BCB- 14 11
I 5 BCB- 20 4
I 6 BCB- 18 3
I 1 Control 17 8
I 2 Control 18 7
I 3 Control 19 1")

Data_c = read.table(textConnection(Input_Cleavage),header=TRUE)
#Data_c$total<- Data_c$C + Data_c$NC
#rowsum(Data_c$total, Data_c$Group)
Data_c$Replicate<-as.factor(Data_c$Replicate)
Data_c$Group<-as.factor(Data_c$Group)

Summary of overall cleavage percentage

round(sum(Data_c$C)/(sum(Data_c$C)+sum(Data_c$NC))*100 ,1)
## [1] 70.7
Data_c %>% dplyr::mutate(percent = (C/(C+NC))*100) %>% mutate_at(vars(percent), ~replace(., is.nan(.), 0)) %>% group_by(Group) %>% dplyr::summarize(average= mean(percent, na.rm=TRUE))
## # A tibble: 3 × 2
##   Group   average
##   <fct>     <dbl>
## 1 BCB-       70.1
## 2 BCB+       74.8
## 3 Control    63.9

Linear Model

Create the linear model

model.log<-glmer(cbind(C,NC) ~ Group + (1|Replicate), family = binomial(link = "logit"), data = Data_c)

ANOVA Wald test

Analysis of Variance with the Wald test

Anova(model.log,     type="III",      test.statistic="Chisq")
## Analysis of Deviance Table (Type III Wald chisquare tests)
## 
## Response: cbind(C, NC)
##                Chisq Df Pr(>Chisq)    
## (Intercept) 112.2456  1    < 2e-16 ***
## Group         6.6133  2    0.03664 *  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Linear contrasts

Pair-wise tests of proportions.

emmeans(model.log, pairwise ~ Group, type='response')
## $emmeans
##  Group    prob     SE  df asymp.LCL asymp.UCL
##  BCB-    0.704 0.0170 Inf     0.669     0.736
##  BCB+    0.744 0.0203 Inf     0.702     0.782
##  Control 0.665 0.0241 Inf     0.616     0.711
## 
## Confidence level used: 0.95 
## Intervals are back-transformed from the logit scale 
## 
## $contrasts
##  contrast         odds.ratio    SE  df null z.ratio p.value
##  (BCB-) / (BCB+)       0.818 0.106 Inf    1  -1.555  0.2653
##  (BCB-) / Control      1.196 0.156 Inf    1   1.366  0.3587
##  (BCB+) / Control      1.462 0.216 Inf    1   2.568  0.0276
## 
## P value adjustment: tukey method for comparing a family of 3 estimates 
## Tests are performed on the log odds ratio scale
emmeans(model.log, ~Group, type='response') %>% multcomp::cld(Letters=letters)
##  Group    prob     SE  df asymp.LCL asymp.UCL .group
##  Control 0.665 0.0241 Inf     0.616     0.711  a    
##  BCB-    0.704 0.0170 Inf     0.669     0.736  ab   
##  BCB+    0.744 0.0203 Inf     0.702     0.782   b   
## 
## Confidence level used: 0.95 
## Intervals are back-transformed from the logit scale 
## P value adjustment: tukey method for comparing a family of 3 estimates 
## Tests are performed on the log odds ratio scale 
## significance level used: alpha = 0.05 
## NOTE: Compact letter displays can be misleading
##       because they show NON-findings rather than findings.
##       Consider using 'pairs()', 'pwpp()', or 'pwpm()' instead.
summary(glht(model.log, linfct = mcp(Group = "Tukey")))
## 
##   Simultaneous Tests for General Linear Hypotheses
## 
## Multiple Comparisons of Means: Tukey Contrasts
## 
## 
## Fit: glmer(formula = cbind(C, NC) ~ Group + (1 | Replicate), data = Data_c, 
##     family = binomial(link = "logit"))
## 
## Linear Hypotheses:
##                     Estimate Std. Error z value Pr(>|z|)  
## BCB+ - BCB- == 0      0.2012     0.1294   1.555   0.2642  
## Control - BCB- == 0  -0.1786     0.1307  -1.366   0.3573  
## Control - BCB+ == 0  -0.3798     0.1479  -2.568   0.0275 *
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## (Adjusted p values reported -- single-step method)

Day 7 blastocyst yield

Load the data for analysis

Input_Day7Blastocysts = ("
Replicate Drop Group B NB
A 1 BCB+ 1 24 
A 2 BCB+ 4 21
A 1 BCB- 3 22
A 2 BCB- 4 21
A 3 BCB- 4 21
A 5 BCB- 3 22
A 6 BCB- 3 12
A 1 Control 2 13
A 2 Control 4 20
A 3 Control 4 14
B 1 BCB+ 6 19
B 2 BCB+ 7 17
B 1 BCB- 5 20
B 2 BCB- 5 20
B 3 BCB- 5 7
B 1 Control 6 19
B 3 Control 1 5
C 2 BCB- 5 20 
C 3 BCB- 8 17
C 4 BCB- 3 15
C 1 Control 3 22
C 2 Control 8 17
C 3 Control 3 3
D 1 BCB+ 7 18 
D 2 BCB+ 2 7
D 1 BCB- 10 15
D 2 BCB- 1 21
D 2 Control 0 25
E 1 BCB+ 3 22 
E 2 BCB+ 4 21
E 1 BCB- 4 21
E 2 BCB- 4 21
E 3 BCB- 4 21
E 4 BCB- 5 20
E 5 BCB- 3 11
E 1 Control 2 23
E 2 Control 3 22
E 3 Control 1 2
F 1 BCB+ 6 19 
F 2 BCB+ 4 21
F 3 BCB+ 3 27
F 1 BCB- 4 21
F 3 BCB- 1 24
F 4 BCB- 3 22
F 5 BCB- 3 13
G 1 BCB+ 6 19 
G 2 BCB+ 7 21
G 1 Control 7 23
G 2 Control 5 20
H 1 BCB+ 7 18 
H 2 BCB+ 5 20
H 3 BCB+ 4 14
H 1 BCB- 4 26
H 2 BCB- 5 25
H 3 BCB- 3 22
H 4 BCB- 4 21
H 5 BCB- 4 21
H 6 BCB- 2 22
H 1 Control 5 20
H 2 Control 5 20
H 3 Control 3 14
I 1 BCB+ 8 22 
I 2 BCB+ 9 21
I 3 BCB+ 8 17
I 4 BCB+ 4 20
I 1 BCB- 7 23
I 2 BCB- 5 25
I 3 BCB- 4 21
I 4 BCB- 4 21
I 5 BCB- 4 20
I 6 BCB- 5 16
I 1 Control 6 19
I 2 Control 5 20
I 3 Control 7 13")

Data_7 = read.table(textConnection(Input_Day7Blastocysts),header=TRUE)
Data_7$Replicate<-as.factor(Data_7$Replicate)
Data_7$Group<-as.factor(Data_7$Group)

Summary of overall blastocyst yield

round(sum(Data_7$B)/(sum(Data_7$B)+sum(Data_7$NB))*100 ,1)
## [1] 19
Data_7 %>% dplyr::mutate(percent = (B/(B+NB))*100) %>% mutate_at(vars(percent), ~replace(., is.nan(.), 0)) %>% group_by(Group) %>% dplyr::summarize(n_embryos= sum(B+NB),average= mean(percent, na.rm=TRUE))
## # A tibble: 3 × 3
##   Group   n_embryos average
##   <fct>       <int>   <dbl>
## 1 BCB-          811    17.8
## 2 BCB+          493    21.3
## 3 Control       414    21.0

Linear Model

Create the linear model

rm(model.log)
model.log<-glmer(cbind(B,NB) ~ Group + (1|Replicate), family = binomial(link = "logit"), data = Data_7)

ANOVA Wald test

Analysis of Variance with the Wald test

Anova(model.log,     type="III",      test.statistic="Chisq")
## Analysis of Deviance Table (Type III Wald chisquare tests)
## 
## Response: cbind(B, NB)
##                Chisq Df Pr(>Chisq)    
## (Intercept) 187.6839  1     <2e-16 ***
## Group         2.7948  2     0.2472    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Linear contrasts

Pair-wise tests of proportions.

emmeans(model.log, pairwise ~ Group, type='response')
## $emmeans
##  Group    prob     SE  df asymp.LCL asymp.UCL
##  BCB-    0.175 0.0163 Inf     0.145     0.209
##  BCB+    0.213 0.0214 Inf     0.174     0.258
##  Control 0.189 0.0216 Inf     0.150     0.235
## 
## Confidence level used: 0.95 
## Intervals are back-transformed from the logit scale 
## 
## $contrasts
##  contrast         odds.ratio    SE  df null z.ratio p.value
##  (BCB-) / (BCB+)       0.783 0.114 Inf    1  -1.671  0.2163
##  (BCB-) / Control      0.909 0.145 Inf    1  -0.599  0.8209
##  (BCB+) / Control      1.161 0.198 Inf    1   0.875  0.6559
## 
## P value adjustment: tukey method for comparing a family of 3 estimates 
## Tests are performed on the log odds ratio scale
emmeans(model.log, ~Group, type='response') %>% multcomp::cld(Letters=letters)
##  Group    prob     SE  df asymp.LCL asymp.UCL .group
##  BCB-    0.175 0.0163 Inf     0.145     0.209  a    
##  Control 0.189 0.0216 Inf     0.150     0.235  a    
##  BCB+    0.213 0.0214 Inf     0.174     0.258  a    
## 
## Confidence level used: 0.95 
## Intervals are back-transformed from the logit scale 
## P value adjustment: tukey method for comparing a family of 3 estimates 
## Tests are performed on the log odds ratio scale 
## significance level used: alpha = 0.05 
## NOTE: Compact letter displays can be misleading
##       because they show NON-findings rather than findings.
##       Consider using 'pairs()', 'pwpp()', or 'pwpm()' instead.
summary(glht(model.log, linfct = mcp(Group = "Tukey")))
## 
##   Simultaneous Tests for General Linear Hypotheses
## 
## Multiple Comparisons of Means: Tukey Contrasts
## 
## 
## Fit: glmer(formula = cbind(B, NB) ~ Group + (1 | Replicate), data = Data_7, 
##     family = binomial(link = "logit"))
## 
## Linear Hypotheses:
##                     Estimate Std. Error z value Pr(>|z|)
## BCB+ - BCB- == 0     0.24424    0.14614   1.671    0.215
## Control - BCB- == 0  0.09516    0.15899   0.599    0.820
## Control - BCB+ == 0 -0.14909    0.17033  -0.875    0.655
## (Adjusted p values reported -- single-step method)

Day 8 blastocyst yield

Load the data for analysis

Input_Day8Blastocysts = ("
Replicate Drop Group B NB
A 1 BCB+ 4 21 
A 2 BCB+ 9 16
A 1 BCB- 5 20
A 2 BCB- 6 19
A 3 BCB- 9 16
A 5 BCB- 4 21
A 6 BCB- 3 12
A 1 Control 4 11
A 2 Control 6 18
A 3 Control 6 12
B 1 BCB+ 9 16 
B 2 BCB+ 7 17
B 1 BCB- 5 20
B 2 BCB- 4 21
B 3 BCB- 5 7
B 1 Control 9 16
B 3 Control 1 5
C 2 BCB- 5 20
C 3 BCB- 8 17
C 4 BCB- 3 15
C 1 Control 4 21
C 2 Control 9 16
C 3 Control 3 3
D 1 BCB+ 10 15
D 2 BCB+ 3 6
D 1 BCB- 11 14
D 2 BCB- 3 19
D 2 Control 4 21
E 1 BCB+ 7 18
E 2 BCB+ 6 19
E 1 BCB- 8 17
E 2 BCB- 7 18
E 3 BCB- 6 19
E 4 BCB- 6 19
E 5 BCB- 3 11
E 1 Control 3 22
E 2 Control 5 20
E 3 Control 1 2
F 1 BCB+ 6 19
F 2 BCB+ 6 19
F 3 BCB+ 7 23
F 1 BCB- 3 22
F 3 BCB- 3 22
F 4 BCB- 7 18
F 5 BCB- 4 12
G 1 BCB+ 10 15
G 2 BCB+ 8 20
G 1 Control 8 22
G 2 Control 6 19
H 1 BCB+ 10 15
H 2 BCB+ 7 18
H 3 BCB+ 6 12
H 1 BCB- 6 24
H 2 BCB- 6 24
H 3 BCB- 3 22
H 4 BCB- 5 20
H 5 BCB- 5 20
H 6 BCB- 2 22
H 1 Control 6 19
H 2 Control 6 19
H 3 Control 3 14
I 1 BCB+ 12 18
I 2 BCB+ 15 15
I 3 BCB+ 11 14
I 4 BCB+ 8 16
I 1 BCB- 8 22
I 2 BCB- 6 24
I 3 BCB- 4 21
I 4 BCB- 5 20
I 5 BCB- 4 20
I 6 BCB- 7 14
I 1 Control 9 16
I 2 Control 9 16
I 3 Control 7 13")

Data_8 = read.table(textConnection(Input_Day8Blastocysts),header=TRUE)
Data_8$Replicate<-as.factor(Data_8$Replicate)
Data_8$Group<-as.factor(Data_8$Group)

Summary of overall blastocyst yield

round(sum(Data_8$B)/(sum(Data_8$B)+sum(Data_8$NB))*100 ,1)
## [1] 26.1
Data_8 %>% dplyr::mutate(percent = (B/(B+NB))*100) %>% mutate_at(vars(percent), ~replace(., is.nan(.), 0)) %>% group_by(Group) %>% dplyr::summarize(n_embryos= sum(B+NB),average= mean(percent, na.rm=TRUE))
## # A tibble: 3 × 3
##   Group   n_embryos average
##   <fct>       <int>   <dbl>
## 1 BCB-          811    22.3
## 2 BCB+          493    32.6
## 3 Control       414    27.2

Linear Model

Create the linear model

rm(model.log)
model.log<-glmer(cbind(B,NB) ~ Group + (1|Replicate), family = binomial(link = "logit"), data = Data_8)

ANOVA Wald test

Analysis of Variance with the Wald test

Anova(model.log,     type="III",      test.statistic="Chisq")
## Analysis of Deviance Table (Type III Wald chisquare tests)
## 
## Response: cbind(B, NB)
##               Chisq Df Pr(>Chisq)    
## (Intercept) 190.156  1  < 2.2e-16 ***
## Group        17.253  2  0.0001793 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Linear contrasts

Pair-wise tests of proportions.

emmeans(model.log, pairwise ~ Group, type='response')
## $emmeans
##  Group    prob     SE  df asymp.LCL asymp.UCL
##  BCB-    0.220 0.0157 Inf     0.191     0.253
##  BCB+    0.326 0.0224 Inf     0.283     0.371
##  Control 0.261 0.0227 Inf     0.219     0.308
## 
## Confidence level used: 0.95 
## Intervals are back-transformed from the logit scale 
## 
## $contrasts
##  contrast         odds.ratio     SE  df null z.ratio p.value
##  (BCB-) / (BCB+)       0.585 0.0755 Inf    1  -4.153  0.0001
##  (BCB-) / Control      0.799 0.1131 Inf    1  -1.582  0.2533
##  (BCB+) / Control      1.366 0.2033 Inf    1   2.093  0.0912
## 
## P value adjustment: tukey method for comparing a family of 3 estimates 
## Tests are performed on the log odds ratio scale
emmeans(model.log, ~Group, type='response') %>% multcomp::cld(Letters=letters)
##  Group    prob     SE  df asymp.LCL asymp.UCL .group
##  BCB-    0.220 0.0157 Inf     0.191     0.253  a    
##  Control 0.261 0.0227 Inf     0.219     0.308  ab   
##  BCB+    0.326 0.0224 Inf     0.283     0.371   b   
## 
## Confidence level used: 0.95 
## Intervals are back-transformed from the logit scale 
## P value adjustment: tukey method for comparing a family of 3 estimates 
## Tests are performed on the log odds ratio scale 
## significance level used: alpha = 0.05 
## NOTE: Compact letter displays can be misleading
##       because they show NON-findings rather than findings.
##       Consider using 'pairs()', 'pwpp()', or 'pwpm()' instead.
summary(glht(model.log, linfct = mcp(Group = "Tukey")))
## 
##   Simultaneous Tests for General Linear Hypotheses
## 
## Multiple Comparisons of Means: Tukey Contrasts
## 
## 
## Fit: glmer(formula = cbind(B, NB) ~ Group + (1 | Replicate), data = Data_8, 
##     family = binomial(link = "logit"))
## 
## Linear Hypotheses:
##                     Estimate Std. Error z value Pr(>|z|)    
## BCB+ - BCB- == 0      0.5355     0.1290   4.153   <0.001 ***
## Control - BCB- == 0   0.2239     0.1415   1.582   0.2525    
## Control - BCB+ == 0  -0.3117     0.1489  -2.093   0.0908 .  
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## (Adjusted p values reported -- single-step method)

BCB staining plus cleavage kinetics

Day 7 blastocyst yield

Load the data for analysis

rm(Input_Day7Blastocysts)
Input_Day7Blastocysts = ("
Replicate Drop BCB Group B NB
A 1 BCB+ Fast 5 21
A 2 BCB+ Slow 5 20
A 3 BCB+ not_cleaved 0 27
A 4 BCB+ not_cleaved 0 27
A 5 BCB- Fast 6 15
A 6 BCB- Slow 3 27
A 7 BCB- Slow 1 29
A 8 BCB- not_cleaved 0 33
A 9 BCB- not_cleaved 1 31
A 10 Control Fast 4 23
A 11 Control Slow 2 28
A 12 Control not_cleaved 0 6
B 1 BCB+ Fast 7 25
B 2 BCB+ Slow 5 23
B 3 BCB+ Slow 8 23
B 4 BCB+ not_cleaved 1 14
B 5 BCB+ not_cleaved 0 14
B 6 BCB- Fast 5 12
B 7 BCB- Slow 7 17
B 8 BCB- Slow 5 22
B 9 BCB- not_cleaved 0 30
B 10 BCB- not_cleaved 0 27
B 11 BCB- Fast 3 12
B 12 BCB- Slow 2 21
B 13 BCB- not_cleaved 0 18
B 14 Control Fast 3 13
B 15 Control Slow 6 18
B 16 Control not_cleaved 0 28
C 1 BCB+ Fast 3 21
C 2 BCB+ Slow 4 21
C 3 BCB+ Slow 8 18
C 4 BCB+ not_cleaved 0 15
C 5 BCB+ not_cleaved 0 17
C 6 BCB- Fast 7 9
C 7 BCB- Slow 9 21
C 8 BCB- not_cleaved 0 30
C 9 BCB- not_cleaved 1 32
C 10 Control Fast 0 10
C 11 Control Slow 0 29
C 12 Control not_cleaved 0 23
D 1 BCB+ Fast 3 9
D 2 BCB+ Fast 6 6
D 3 BCB+ Slow 3 13
D 4 BCB+ Slow 4 12
D 5 BCB+ Slow 1 12
D 6 BCB+ not_cleaved 0 14
D 7 BCB- Fast 4 8
D 8 BCB- Fast 3 7
D 9 BCB- Slow 3 13
D 10 BCB- Slow 1 15
D 11 BCB- not_cleaved 1 17
D 12 BCB- not_cleaved 0 15
D 13 Control Fast 6 7
D 14 Control Slow 3 15
D 15 Control Slow 5 12
D 16 Control not_cleaved 0 20
E 1 BCB+ Fast 8 12
E 2 BCB+ Fast 6 14
E 3 BCB+ Slow 4 13
E 4 BCB+ Slow 3 15
E 5 BCB+ Slow 3 11
E 6 BCB+ not_cleaved 0 16
E 7 BCB+ not_cleaved 0 17
E 8 BCB- Fast 5 9
E 9 BCB- Fast 5 10
E 10 BCB- Fast 3 7
E 11 BCB- Slow 3 12
E 12 BCB- Slow 3 14
E 13 BCB- not_cleaved 1 18
E 14 BCB- not_cleaved 0 19
E 15 Control Fast 7 13
E 16 Control Slow 4 7
E 17 Control not_cleaved 0 15
E 18 Control not_cleaved 0 15
")


Data_7 = read.table(textConnection(Input_Day7Blastocysts),header=TRUE)
Data_7$Replicate<-as.factor(Data_7$Replicate)
Data_7$Group<-as.factor(Data_7$Group)
Data_7$BCB<-as.factor(Data_7$BCB)

Summary of overall blastocyst yield

round(sum(Data_7$B)/(sum(Data_7$B)+sum(Data_7$NB))*100 ,1)
## [1] 14
Data_7 %>% dplyr::mutate(percent = (B/(B+NB))*100) %>% mutate_at(vars(percent), ~replace(., is.nan(.), 0)) %>% group_by(Group,BCB) %>% dplyr::summarize(n_embryos= sum(B+NB),average= mean(percent, na.rm=TRUE))
## # A tibble: 9 × 4
## # Groups:   Group [3]
##   Group       BCB     n_embryos average
##   <fct>       <fct>       <int>   <dbl>
## 1 Fast        BCB-          130  31.6  
## 2 Fast        BCB+          146  28.4  
## 3 Fast        Control        86  22.9  
## 4 not_cleaved BCB-          274   1.54 
## 5 not_cleaved BCB+          162   0.741
## 6 not_cleaved Control       107   0    
## 7 Slow        BCB-          228  16.2  
## 8 Slow        BCB+          229  20.3  
## 9 Slow        Control       129  19.0

Linear Model

Create the linear model

rm(model.log)
model.log<-glmer(cbind(B,NB) ~ Group * BCB + (1|Replicate), family = binomial(link = "logit"), data = Data_7)

ANOVA Wald test

Analysis of Variance with the Wald test

Anova(model.log,     type="III",      test.statistic="Chisq")
## Analysis of Deviance Table (Type III Wald chisquare tests)
## 
## Response: cbind(B, NB)
##               Chisq Df Pr(>Chisq)    
## (Intercept) 14.8292  1  0.0001177 ***
## Group       41.9876  2   7.63e-10 ***
## BCB          1.6484  2  0.4385900    
## Group:BCB    2.7260  4  0.6046799    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Linear contrasts

Pair-wise tests of proportions.

emmeans(model.log, pairwise ~ Group * BCB, type='response')
## $emmeans
##  Group       BCB        prob       SE  df asymp.LCL asymp.UCL
##  Fast        BCB-    0.30842 4.47e-02 Inf  0.228194    0.4021
##  not_cleaved BCB-    0.01476 7.43e-03 Inf  0.005479    0.0392
##  Slow        BCB-    0.16425 2.75e-02 Inf  0.117189    0.2254
##  Fast        BCB+    0.25575 3.97e-02 Inf  0.185877    0.3409
##  not_cleaved BCB+    0.00632 6.32e-03 Inf  0.000885    0.0437
##  Slow        BCB+    0.20437 3.02e-02 Inf  0.151484    0.2699
##  Fast        Control 0.23475 4.86e-02 Inf  0.152938    0.3426
##  not_cleaved Control 0.00000 4.50e-07 Inf  0.000000    1.0000
##  Slow        Control 0.15598 3.41e-02 Inf  0.100153    0.2348
## 
## Confidence level used: 0.95 
## Intervals are back-transformed from the logit scale 
## 
## $contrasts
##  contrast                                 odds.ratio       SE  df null z.ratio p.value
##  (Fast BCB-) / (not_cleaved BCB-)           3.00e+01 1.60e+01 Inf    1   6.299  <.0001
##  (Fast BCB-) / (Slow BCB-)                  2.00e+00 1.00e+00 Inf    1   3.108  0.0491
##  (Fast BCB-) / (Fast BCB+)                  1.00e+00 0.00e+00 Inf    1   0.973  0.9883
##  (Fast BCB-) / (not_cleaved BCB+)           7.00e+01 7.20e+01 Inf    1   4.165  0.0010
##  (Fast BCB-) / (Slow BCB+)                  2.00e+00 0.00e+00 Inf    1   2.204  0.4029
##  (Fast BCB-) / Fast Control                 1.00e+00 0.00e+00 Inf    1   1.169  0.9630
##  (Fast BCB-) / not_cleaved Control          3.20e+08 1.04e+11 Inf    1   0.060  1.0000
##  (Fast BCB-) / Slow Control                 2.00e+00 1.00e+00 Inf    1   2.829  0.1068
##  (not_cleaved BCB-) / (Slow BCB-)           0.00e+00 0.00e+00 Inf    1  -4.814  0.0001
##  (not_cleaved BCB-) / (Fast BCB+)           0.00e+00 0.00e+00 Inf    1  -5.820  <.0001
##  (not_cleaved BCB-) / (not_cleaved BCB+)    2.00e+00 3.00e+00 Inf    1   0.764  0.9978
##  (not_cleaved BCB-) / (Slow BCB+)           0.00e+00 0.00e+00 Inf    1  -5.365  <.0001
##  (not_cleaved BCB-) / Fast Control          0.00e+00 0.00e+00 Inf    1  -5.342  <.0001
##  (not_cleaved BCB-) / not_cleaved Control   1.08e+07 3.48e+09 Inf    1   0.050  1.0000
##  (not_cleaved BCB-) / Slow Control          0.00e+00 0.00e+00 Inf    1  -4.489  0.0002
##  (Slow BCB-) / (Fast BCB+)                  1.00e+00 0.00e+00 Inf    1  -2.125  0.4562
##  (Slow BCB-) / (not_cleaved BCB+)           3.10e+01 3.10e+01 Inf    1   3.369  0.0215
##  (Slow BCB-) / (Slow BCB+)                  1.00e+00 0.00e+00 Inf    1  -1.091  0.9756
##  (Slow BCB-) / Fast Control                 1.00e+00 0.00e+00 Inf    1  -1.419  0.8907
##  (Slow BCB-) / not_cleaved Control          1.41e+08 4.57e+10 Inf    1   0.058  1.0000
##  (Slow BCB-) / Slow Control                 1.00e+00 0.00e+00 Inf    1   0.202  1.0000
##  (Fast BCB+) / (not_cleaved BCB+)           5.40e+01 5.50e+01 Inf    1   3.910  0.0030
##  (Fast BCB+) / (Slow BCB+)                  1.00e+00 0.00e+00 Inf    1   1.164  0.9639
##  (Fast BCB+) / Fast Control                 1.00e+00 0.00e+00 Inf    1   0.355  1.0000
##  (Fast BCB+) / not_cleaved Control          2.47e+08 7.99e+10 Inf    1   0.060  1.0000
##  (Fast BCB+) / Slow Control                 2.00e+00 1.00e+00 Inf    1   1.998  0.5447
##  (not_cleaved BCB+) / (Slow BCB+)           0.00e+00 0.00e+00 Inf    1  -3.640  0.0083
##  (not_cleaved BCB+) / Fast Control          0.00e+00 0.00e+00 Inf    1  -3.747  0.0056
##  (not_cleaved BCB+) / not_cleaved Control   4.57e+06 1.48e+09 Inf    1   0.047  1.0000
##  (not_cleaved BCB+) / Slow Control          0.00e+00 0.00e+00 Inf    1  -3.265  0.0302
##  (Slow BCB+) / Fast Control                 1.00e+00 0.00e+00 Inf    1  -0.580  0.9997
##  (Slow BCB+) / not_cleaved Control          1.84e+08 5.97e+10 Inf    1   0.059  1.0000
##  (Slow BCB+) / Slow Control                 1.00e+00 0.00e+00 Inf    1   1.117  0.9719
##  Fast Control / not_cleaved Control         2.20e+08 7.13e+10 Inf    1   0.059  1.0000
##  Fast Control / Slow Control                2.00e+00 1.00e+00 Inf    1   1.428  0.8873
##  not_cleaved Control / Slow Control         0.00e+00 0.00e+00 Inf    1  -0.058  1.0000
## 
## P value adjustment: tukey method for comparing a family of 9 estimates 
## Tests are performed on the log odds ratio scale
contrast(emmeans(model.log, ~ Group * BCB), "tukey", simple = "each", combine = TRUE, adjust = "none")
##  BCB     Group       contrast           estimate      SE  df z.ratio p.value
##  BCB-    .           Fast - not_cleaved   3.3932   0.539 Inf   6.299  <.0001
##  BCB-    .           Fast - Slow          0.8194   0.264 Inf   3.108  0.0019
##  BCB-    .           not_cleaved - Slow  -2.5737   0.535 Inf  -4.814  <.0001
##  BCB+    .           Fast - not_cleaved   3.9892   1.020 Inf   3.910  0.0001
##  BCB+    .           Fast - Slow          0.2910   0.250 Inf   1.164  0.2443
##  BCB+    .           not_cleaved - Slow  -3.6982   1.016 Inf  -3.640  0.0003
##  Control .           Fast - not_cleaved  19.2099 323.817 Inf   0.059  0.9527
##  Control .           Fast - Slow          0.5067   0.355 Inf   1.428  0.1533
##  Control .           not_cleaved - Slow -18.7032 323.818 Inf  -0.058  0.9539
##  .       Fast        (BCB-) - (BCB+)      0.2606   0.268 Inf   0.973  0.3304
##  .       Fast        (BCB-) - Control     0.3742   0.320 Inf   1.169  0.2425
##  .       Fast        (BCB+) - Control     0.1135   0.320 Inf   0.355  0.7224
##  .       not_cleaved (BCB-) - (BCB+)      0.8567   1.121 Inf   0.764  0.4449
##  .       not_cleaved (BCB-) - Control    16.1909 323.817 Inf   0.050  0.9601
##  .       not_cleaved (BCB+) - Control    15.3342 323.818 Inf   0.047  0.9622
##  .       Slow        (BCB-) - (BCB+)     -0.2678   0.245 Inf  -1.091  0.2751
##  .       Slow        (BCB-) - Control     0.0615   0.304 Inf   0.202  0.8399
##  .       Slow        (BCB+) - Control     0.3293   0.295 Inf   1.117  0.2642
## 
## Results are given on the log odds ratio (not the response) scale.

Day 8 blastocyst yield

Load the data for analysis

rm(Input_Day8Blastocysts)

Input_Day8Blastocysts = ("
Replicate Drop BCB Group B NB
A 1 BCB+ Fast 11 15
A 2 BCB+ Slow 10 15
A 3 BCB+ not_cleaved 0 27
A 4 BCB+ not_cleaved 0 27
A 5 BCB- Fast 12 9
A 6 BCB- Slow 14 16
A 7 BCB- Slow 10 20
A 8 BCB- not_cleaved 0 33
A 9 BCB- not_cleaved 2 30
A 10 Control Fast 9 18
A 11 Control Slow 10 20
A 12 Control not_cleaved 0 6
B 1 BCB+ Fast 16 16
B 2 BCB+ Slow 9 19
B 3 BCB+ Slow 10 21
B 4 BCB+ not_cleaved 1 14
B 5 BCB+ not_cleaved 0 14
B 6 BCB- Fast 7 10
B 8 BCB- Slow 11 16
B 9 BCB- not_cleaved 1 29
B 10 BCB- not_cleaved 0 27
B 11 BCB- Fast 7 8
B 12 BCB- Slow 3 20
B 13 BCB- not_cleaved 0 18
B 14 Control Fast 8 8
B 15 Control Slow 7 17
B 16 Control not_cleaved 0 28
C 1 BCB+ Fast 8 16
C 2 BCB+ Slow 13 12
C 3 BCB+ Slow 11 15
C 4 BCB+ not_cleaved 0 15
C 5 BCB+ not_cleaved 0 17
C 6 BCB- Fast 8 8
C 7 BCB- Slow 11 19
C 8 BCB- not_cleaved 0 30
C 9 BCB- not_cleaved 1 32
C 10 Control Fast 1 9
C 11 Control Slow 6 23
C 12 Control not_cleaved 0 23
D 2 BCB+ Fast 7 5
D 3 BCB+ Slow 6 10
D 4 BCB+ Slow 7 9
D 5 BCB+ Slow 4 9
D 6 BCB+ not_cleaved 1 13
D 7 Control Fast 7 6
D 8 Control Slow 7 11
D 9 Control Slow 9 8
D 10 Control not_cleaved 2 18
E 1 BCB+ Fast 9 11
E 2 BCB+ Fast 11 9
E 3 BCB+ Slow 5 12
E 4 BCB+ Slow 6 12
E 6 BCB+ not_cleaved 2 14
E 7 BCB+ not_cleaved 0 17
E 8 BCB- Fast 7 7
E 9 BCB- Fast 6 9
E 10 BCB- Fast 3 7
E 11 BCB- Slow 7 8
E 12 BCB- Slow 6 11
E 13 BCB- not_cleaved 1 18
E 14 BCB- not_cleaved 1 18
E 15 Control Fast 8 12
E 16 Control Slow 5 6
E 17 Control not_cleaved 0 15
E 18 Control not_cleaved 0 15
")
 
Data_8 = read.table(textConnection(Input_Day8Blastocysts),header=TRUE)
Data_8$Replicate<-as.factor(Data_8$Replicate)
Data_8$Group<-as.factor(Data_8$Group)
Data_8$BCB<-as.factor(Data_8$BCB)
round(sum(Data_8$B)/(sum(Data_8$B)+sum(Data_8$NB))*100 ,1)
## [1] 25.4
Data_8 %>% dplyr::mutate(percent = (B/(B+NB))*100) %>% mutate_at(vars(percent), ~replace(., is.nan(.), 0)) %>% group_by(Group,BCB) %>% dplyr::summarize(n_embryos= sum(B+NB),average= mean(percent, na.rm=TRUE))
## # A tibble: 9 × 4
## # Groups:   Group [3]
##   Group       BCB     n_embryos average
##   <fct>       <fct>       <int>   <dbl>
## 1 Fast        BCB-          108   45.0 
## 2 Fast        BCB+          134   47.3 
## 3 Fast        Control        86   37.4 
## 4 not_cleaved BCB-          241    2.57
## 5 not_cleaved BCB+          162    2.92
## 6 not_cleaved Control       107    1.67
## 7 Slow        BCB-          172   36.1 
## 8 Slow        BCB+          215   37.3 
## 9 Slow        Control       129   36.7

Linear Model

Create the linear model

rm(model.log)
model.log<-glmer(cbind(B,NB) ~ Group * BCB + (1|Replicate), family = binomial(link = "logit"), data = Data_8)

ANOVA Wald test

Analysis of Variance with the Wald test

Anova(model.log,     type="III",      test.statistic="Chisq")
## Analysis of Deviance Table (Type III Wald chisquare tests)
## 
## Response: cbind(B, NB)
##               Chisq Df Pr(>Chisq)    
## (Intercept)  0.5915  1     0.4418    
## Group       60.2534  2  8.244e-14 ***
## BCB          1.6030  2     0.4487    
## Group:BCB    0.4246  4     0.9804    
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Linear contrasts

Pair-wise tests of proportions.

emmeans(model.log, pairwise ~ Group * BCB, type='response')
## $emmeans
##  Group       BCB       prob     SE  df asymp.LCL asymp.UCL
##  Fast        BCB-    0.4630 0.0480 Inf   0.37130    0.5572
##  not_cleaved BCB-    0.0249 0.0100 Inf   0.01123    0.0543
##  Slow        BCB-    0.3605 0.0366 Inf   0.29222    0.4349
##  Fast        BCB+    0.4627 0.0431 Inf   0.38010    0.5474
##  not_cleaved BCB+    0.0247 0.0122 Inf   0.00930    0.0639
##  Slow        BCB+    0.3767 0.0330 Inf   0.31448    0.4434
##  Fast        Control 0.3837 0.0524 Inf   0.28733    0.4902
##  not_cleaved Control 0.0187 0.0131 Inf   0.00468    0.0716
##  Slow        Control 0.3411 0.0417 Inf   0.26455    0.4269
## 
## Confidence level used: 0.95 
## Intervals are back-transformed from the logit scale 
## 
## $contrasts
##  contrast                                 odds.ratio      SE  df null z.ratio p.value
##  (Fast BCB-) / (not_cleaved BCB-)            33.7644 15.4050 Inf    1   7.714  <.0001
##  (Fast BCB-) / (Slow BCB-)                    1.5295  0.3822 Inf    1   1.700  0.7467
##  (Fast BCB-) / (Fast BCB+)                    1.0011  0.2596 Inf    1   0.004  1.0000
##  (Fast BCB-) / (not_cleaved BCB+)            34.0517 18.4500 Inf    1   6.511  <.0001
##  (Fast BCB-) / (Slow BCB+)                    1.4261  0.3406 Inf    1   1.486  0.8624
##  (Fast BCB-) / Fast Control                   1.3845  0.4070 Inf    1   1.107  0.9734
##  (Fast BCB-) / not_cleaved Control           45.2586 33.4659 Inf    1   5.156  <.0001
##  (Fast BCB-) / Slow Control                   1.6654  0.4460 Inf    1   1.904  0.6107
##  (not_cleaved BCB-) / (Slow BCB-)             0.0453  0.0201 Inf    1  -6.987  <.0001
##  (not_cleaved BCB-) / (Fast BCB+)             0.0296  0.0133 Inf    1  -7.849  <.0001
##  (not_cleaved BCB-) / (not_cleaved BCB+)      1.0085  0.6592 Inf    1   0.013  1.0000
##  (not_cleaved BCB-) / (Slow BCB+)             0.0422  0.0185 Inf    1  -7.246  <.0001
##  (not_cleaved BCB-) / Fast Control            0.0410  0.0192 Inf    1  -6.808  <.0001
##  (not_cleaved BCB-) / not_cleaved Control     1.3404  1.1057 Inf    1   0.355  1.0000
##  (not_cleaved BCB-) / Slow Control            0.0493  0.0223 Inf    1  -6.640  <.0001
##  (Slow BCB-) / (Fast BCB+)                    0.6545  0.1538 Inf    1  -1.803  0.6801
##  (Slow BCB-) / (not_cleaved BCB+)            22.2636 11.8133 Inf    1   5.848  <.0001
##  (Slow BCB-) / (Slow BCB+)                    0.9324  0.1979 Inf    1  -0.330  1.0000
##  (Slow BCB-) / Fast Control                   0.9052  0.2469 Inf    1  -0.365  1.0000
##  (Slow BCB-) / not_cleaved Control           29.5909 21.6387 Inf    1   4.632  0.0001
##  (Slow BCB-) / Slow Control                   1.0888  0.2661 Inf    1   0.348  1.0000
##  (Fast BCB+) / (not_cleaved BCB+)            34.0139 18.2013 Inf    1   6.591  <.0001
##  (Fast BCB+) / (Slow BCB+)                    1.4245  0.3180 Inf    1   1.585  0.8132
##  (Fast BCB+) / Fast Control                   1.3830  0.3892 Inf    1   1.152  0.9660
##  (Fast BCB+) / not_cleaved Control           45.2083 33.2071 Inf    1   5.189  <.0001
##  (Fast BCB+) / Slow Control                   1.6635  0.4225 Inf    1   2.004  0.5407
##  (not_cleaved BCB+) / (Slow BCB+)             0.0419  0.0220 Inf    1  -6.038  <.0001
##  (not_cleaved BCB+) / Fast Control            0.0407  0.0225 Inf    1  -5.794  <.0001
##  (not_cleaved BCB+) / not_cleaved Control     1.3291  1.1631 Inf    1   0.325  1.0000
##  (not_cleaved BCB+) / Slow Control            0.0489  0.0264 Inf    1  -5.596  <.0001
##  (Slow BCB+) / Fast Control                   0.9708  0.2550 Inf    1  -0.113  1.0000
##  (Slow BCB+) / not_cleaved Control           31.7351 23.0889 Inf    1   4.752  0.0001
##  (Slow BCB+) / Slow Control                   1.1677  0.2721 Inf    1   0.665  0.9992
##  Fast Control / not_cleaved Control          32.6887 24.4335 Inf    1   4.665  0.0001
##  Fast Control / Slow Control                  1.2028  0.3479 Inf    1   0.638  0.9994
##  not_cleaved Control / Slow Control           0.0368  0.0271 Inf    1  -4.477  0.0003
## 
## P value adjustment: tukey method for comparing a family of 9 estimates 
## Tests are performed on the log odds ratio scale
contrast(emmeans(model.log, ~ Group * BCB), "tukey", simple = "each", combine = TRUE, adjust = "none")
##  BCB     Group       contrast           estimate    SE  df z.ratio p.value
##  BCB-    .           Fast - not_cleaved  3.51941 0.456 Inf   7.714  <.0001
##  BCB-    .           Fast - Slow         0.42493 0.250 Inf   1.700  0.0891
##  BCB-    .           not_cleaved - Slow -3.09448 0.443 Inf  -6.987  <.0001
##  BCB+    .           Fast - not_cleaved  3.52677 0.535 Inf   6.591  <.0001
##  BCB+    .           Fast - Slow         0.35386 0.223 Inf   1.585  0.1129
##  BCB+    .           not_cleaved - Slow -3.17291 0.525 Inf  -6.038  <.0001
##  Control .           Fast - not_cleaved  3.48703 0.747 Inf   4.665  <.0001
##  Control .           Fast - Slow         0.18468 0.289 Inf   0.638  0.5232
##  Control .           not_cleaved - Slow -3.30235 0.738 Inf  -4.477  <.0001
##  .       Fast        (BCB-) - (BCB+)     0.00111 0.259 Inf   0.004  0.9966
##  .       Fast        (BCB-) - Control    0.32536 0.294 Inf   1.107  0.2684
##  .       Fast        (BCB+) - Control    0.32425 0.281 Inf   1.152  0.2492
##  .       not_cleaved (BCB-) - (BCB+)     0.00847 0.654 Inf   0.013  0.9897
##  .       not_cleaved (BCB-) - Control    0.29299 0.825 Inf   0.355  0.7225
##  .       not_cleaved (BCB+) - Control    0.28451 0.875 Inf   0.325  0.7451
##  .       Slow        (BCB-) - (BCB+)    -0.06996 0.212 Inf  -0.330  0.7417
##  .       Slow        (BCB-) - Control    0.08512 0.244 Inf   0.348  0.7276
##  .       Slow        (BCB+) - Control    0.15507 0.233 Inf   0.665  0.5057
## 
## Results are given on the log odds ratio (not the response) scale.

Cleavage kinetics

Day 7 blastocyst yield

Load the data for analysis

rm(Input_Day7Blastocysts,Data_7)
Input_Day7Blastocysts= ("
Replicate Drop Group B NB
A 1 Fast 5 9
A 2 Fast 5 9
A 3 Fast 6 10
A 4 Slow 1 12
A 5 Slow 2 17
A 6 Slow 4 13
A 7 not_cleaved 0 23
A 8 Fast 6 16
A 9 Fast 8 16
A 10 Slow 5 8
A 11 Slow 3 17
A 12 Slow 4 15
A 13 not_cleaved 0 14
A 14 Fast 4 12
A 15 Fast 4 12
A 16 Fast 8 10
A 17 Slow 5 13
A 18 Slow 1 16
A 19 not_cleaved 0 21
A 20 Fast 3 12
A 21 Fast 6 9
A 22 Fast 2 8
A 23 Slow 2 12
A 24 Slow 6 8
A 25 not_cleaved 0 14
A 26 Fast+ 1 6
A 27 Fast+ 0 1
B 1 Fast 3 6
B 2 Fast 3 5
B 3 Slow 2 11
B 4 Slow 2 11
B 5 Slow 1 12
B 6 not_cleaved 0 11
B 7 not_cleaved 0 13
B 8 Fast 2 6
B 9 Fast 2 5
B 10 Slow 1 9
B 11 Slow 2 9
B 12 not_cleaved 0 10
B 13 not_cleaved 0 10
B 14 not_cleaved 0 7
B 15 Fast 3 7
B 16 Fast 0 10
B 17 Slow 2 8
B 18 Slow 2 8
B 19 Slow 1 8
B 20 not_cleaved 1 29
B 21 Fast 2 9
B 22 Fast 4 7
B 23 Slow 2 6
B 24 Slow 1 9
B 25 Slow 1 8
B 26 not_cleaved 0 15
B 27 not_cleaved 0 16
B 28 Fast+ 0 2
C 1 Fast 4 12
C 2 Fast 4 15
C 3 Fast 3 15
C 4 Slow 1 17
C 5 Slow 4 14
C 6 not_cleaved 0 10
C 7 Fast 5 11
C 8 Fast 4 11
C 10 Slow 0 16
C 11 Slow 3 12
C 12 not_cleaved 0 16
C 13 Fast 8 14
C 14 Fast 5 12
C 15 Fast 4 15
C 16 Slow 2 10
C 17 Slow 1 11
C 18 not_cleaved 0 15
C 19 Fast 7 14
C 20 Fast 7 13
C 21 Fast 4 18
C 22 Slow 0 15
C 23 Slow 0 15
C 24 not_cleaved 1 16
C 25 Fast+ 0 2
C 26 Fast+ 2 4
C 27 Fast+ 1 2
C 28 Fast+ 2 3
D 1 Fast 9 7
D 2 Fast 9 6
D 3 Fast 10 5
D 4 Slow 5 13
D 5 Slow 4 14
D 6 not_cleaved 2 15
D 9 Slow 3 18
D 10 Slow 4 14
D 11 not_cleaved 0 9 
D 12 not_cleaved 0 13
D 13 Fast 4 13
D 14 Fast 6 11
D 15 Fast 4 13
D 16 Slow 1 11
D 17 Slow 5 6
D 18 not_cleaved 0 11
D 19 Fast 1 11
D 20 Fast 5 7
D 21 Fast 4 8
D 22 Slow 1 8
D 23 Slow 1 7
D 24 not_cleaved 0 7
D 25 Fast+ 0 1
D 26 Fast+ 0 2
D 27 Fast+ 1 1
E 1 Fast 2 13
E 2 Fast 7 8
E 3 Fast 3 13
E 4 Slow 2 15
E 5 Slow 1 17
E 6 not_cleaved 0 16
E 7 Fast 5 14
E 8 Fast 7 11
E 9 Fast 7 11
E 10 Slow 0 13
E 11 Slow 4 9
E 12 not_cleaved 1 11
E 13 Fast 2 17
E 14 Fast 2 16
E 15 Fast 8 10
E 16 Slow 1 15
E 17 not_cleaved 0 9
E 18 Fast 2 16
E 19 Slow 1 6
E 20 not_cleaved 0 2
E 21 Fast+ 1 3
E 22 Fast+ 1 6
F 1 Fast 6 8
F 2 Fast 5 9
F 3 Fast 9 4
F 4 Slow 1 8
F 5 Slow 0 8
F 6 not_cleaved 0 18
F 7 Fast 6 9
F 8 Fast 4 11
F 9 Fast 2 12
F 10 Slow 0 9
F 11 Slow 2 7
F 12 not_cleaved 0 12
F 13 Fast 2 10
F 14 Fast 0 12
F 15 Fast 5 7
F 16 Slow 0 12
F 17 Slow 2 10
F 18 not_cleaved 0 16
F 19 Fast 1 7
F 20 Slow 2 8
F 21 Slow 3 7
F 22 not_cleaved 0 10
F 23 Fast+ 0 4
F 24 Fast+ 0 5
F 25 Fast+ 1 3
F 26 Fast+ 0 2
G 1 Fast 3 9
G 2 Fast 1 10
G 3 Fast 0 12
G 4 Slow 1 11
G 5 not_cleaved 0 29
G 6 Fast+ 0 4
G 7 Fast 0 11
G 8 Fast 1 10
G 9 Fast 0 10
G 10 Slow 0 15
G 11 not_cleaved 0 32
G 12 Fast+ 0 1
G 13 Fast 0 9
G 14 Fast 1 9
G 15 Fast 1 9
G 16 Slow 1 6
G 17 not_cleaved 0 39
G 18 Fast+ 1 2
G 19 Fast 3 8
G 20 Fast 2 9
G 21 Fast 1 9
G 22 Slow 3 8
G 23 not_cleaved 0 33
G 24 Fast+ 0 4
G 25 Fast 2 7
G 26 Fast 1 9
G 27 Fast 1 9
G 28 Slow 1  7
G 29 not_cleaved 0 35
G 30 Fast+ 0 8
G 31 Fast 1 6
G 32 Slow 0 2
G 33 not_cleaved 0 7
G 34 Fast+ 0 1
G 35 Fast 1 15
G 36 Fast 2 12
G 37 Fast 2 12
G 38 Slow 0 14
G 39 not_cleaved 0 13
G 40 Fast+ 1 7
G 41 Fast 0 11
G 42 Fast 1 10
G 43 Fast 0 9
G 44 Slow 0 5
G 45 not_cleaved 0 16
G 46 Fast+ 0 2")

Data_7 = read.table(textConnection(Input_Day7Blastocysts),header=TRUE)
Data_7$Replicate<-as.factor(Data_7$Replicate)
Data_7$Group<-as.factor(Data_7$Group)

Summary of overall blastocyst yield

round(sum(Data_7$B)/(sum(Data_7$B)+sum(Data_7$NB))*100 ,1)
## [1] 16.3
Data_7 %>% dplyr::mutate(percent = (B/(B+NB))*100) %>% mutate_at(vars(percent), ~replace(., is.nan(.), 0)) %>% group_by(Group) %>% dplyr::summarize(n_embryos= sum(B+NB),average= mean(percent, na.rm=TRUE))
## # A tibble: 4 × 3
##   Group       n_embryos average
##   <fct>           <int>   <dbl>
## 1 Fast             1134  24.4  
## 2 Fast+              88  11.7  
## 3 not_cleaved       598   0.792
## 4 Slow              753  14.2

Linear Model

rm(model.log)
model.log<-glmer(cbind(B,NB) ~ Group + (1|Replicate), family = binomial(link = "logit"), data = Data_7)

ANOVA Wald test

Analysis of Variance with the Wald test

Anova(model.log,     type="III",      test.statistic="Chisq")
## Analysis of Deviance Table (Type III Wald chisquare tests)
## 
## Response: cbind(B, NB)
##               Chisq Df Pr(>Chisq)    
## (Intercept)  32.016  1  1.529e-08 ***
## Group       101.325  3  < 2.2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Linear contrasts

Pair-wise tests of proportions.

emmeans(model.log, pairwise ~ Group, type='response')
## $emmeans
##  Group          prob      SE  df asymp.LCL asymp.UCL
##  Fast        0.26082 0.03549 Inf   0.19742    0.3361
##  Fast+       0.15613 0.04722 Inf   0.08396    0.2719
##  not_cleaved 0.00903 0.00429 Inf   0.00354    0.0228
##  Slow        0.13144 0.02294 Inf   0.09262    0.1832
## 
## Confidence level used: 0.95 
## Intervals are back-transformed from the logit scale 
## 
## $contrasts
##  contrast              odds.ratio      SE  df null z.ratio p.value
##  Fast / (Fast+)            1.9072  0.6156 Inf    1   2.000  0.1878
##  Fast / not_cleaved       38.7248 17.6070 Inf    1   8.042  <.0001
##  Fast / Slow               2.3318  0.2970 Inf    1   6.648  <.0001
##  (Fast+) / not_cleaved    20.3048 11.1526 Inf    1   5.482  <.0001
##  (Fast+) / Slow            1.2226  0.4088 Inf    1   0.601  0.9317
##  not_cleaved / Slow        0.0602  0.0278 Inf    1  -6.096  <.0001
## 
## P value adjustment: tukey method for comparing a family of 4 estimates 
## Tests are performed on the log odds ratio scale
emmeans(model.log, ~Group, type='response') %>% multcomp::cld(Letters=letters)
##  Group          prob      SE  df asymp.LCL asymp.UCL .group
##  not_cleaved 0.00903 0.00429 Inf   0.00354    0.0228  a    
##  Slow        0.13144 0.02294 Inf   0.09262    0.1832   b   
##  Fast+       0.15613 0.04722 Inf   0.08396    0.2719   bc  
##  Fast        0.26082 0.03549 Inf   0.19742    0.3361    c  
## 
## Confidence level used: 0.95 
## Intervals are back-transformed from the logit scale 
## P value adjustment: tukey method for comparing a family of 4 estimates 
## Tests are performed on the log odds ratio scale 
## significance level used: alpha = 0.05 
## NOTE: Compact letter displays can be misleading
##       because they show NON-findings rather than findings.
##       Consider using 'pairs()', 'pwpp()', or 'pwpm()' instead.
summary(glht(model.log, linfct = mcp(Group = "Tukey")))
## 
##   Simultaneous Tests for General Linear Hypotheses
## 
## Multiple Comparisons of Means: Tukey Contrasts
## 
## 
## Fit: glmer(formula = cbind(B, NB) ~ Group + (1 | Replicate), data = Data_7, 
##     family = binomial(link = "logit"))
## 
## Linear Hypotheses:
##                          Estimate Std. Error z value Pr(>|z|)    
## Fast+ - Fast == 0         -0.6456     0.3228  -2.000    0.164    
## not_cleaved - Fast == 0   -3.6565     0.4547  -8.042   <0.001 ***
## Slow - Fast == 0          -0.8466     0.1274  -6.648   <0.001 ***
## not_cleaved - Fast+ == 0  -3.0109     0.5493  -5.482   <0.001 ***
## Slow - Fast+ == 0         -0.2010     0.3344  -0.601    0.922    
## Slow - not_cleaved == 0    2.8098     0.4609   6.096   <0.001 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## (Adjusted p values reported -- single-step method)

Day 8 blastocyst yield

Load the data for analysis

rm(Input_Day8Blastocysts,Data_8)
Input_Day8Blastocysts = ("
Replicate Drop Group B NB
A 1 Fast 10 4
A 2 Fast 7 7
A 3 Fast 8 8
A 4 Slow 6 7
A 5 Slow 10 9
A 6 Slow 7 10
A 7 not_cleaved 0 23
A 8 Fast 11 11
A 9 Fast 17 7
A 10 Slow 7 6
A 11 Slow 7 13
A 12 Slow 10 9
A 13 not_cleaved 0 14
A 14 Fast 10 6
A 15 Fast 13 3
A 16 Fast 10 8
A 17 Slow 12 6
A 18 Slow 2 15
A 19 not_cleaved 0 21
A 20 Fast 7 8
A 21 Fast 9 6
A 22 Fast 6 4
A 23 Slow 9 5
A 24 Slow 8 6
A 25 not_cleaved 1 13
A 26 Fast+ 1 6
A 27 Fast+ 0 1
B 1 Fast 6 3
B 2 Fast 5 3
B 3 Slow 5 8
B 4 Slow 6 7
B 5 Slow 4 9
B 6 not_cleaved 0 11
B 7 not_cleaved 1 12
B 8 Fast 4 4
B 9 Fast 3 4
B 10 Slow 3 7
B 11 Slow 4 7
B 12 not_cleaved 0 10
B 13 not_cleaved 1 9
B 14 not_cleaved 1 6
B 15 Fast 5 5
B 16 Fast 4 6
B 17 Slow 4 6
B 18 Slow 3 7
B 19 Slow 4 5
B 20 not_cleaved 3 27
B 21 Fast 6 5
B 22 Fast 6 5
B 23 Slow 5 3
B 24 Slow 2 8
B 25 Slow 4 5
B 26 not_cleaved 1 14
B 27 not_cleaved 1 15
B 28 Fast+ 0 2
C 1 Fast 7 9
C 2 Fast 5 14
C 3 Fast 6 12
C 4 Slow 4 14
C 5 Slow 6 12
C 6 not_cleaved 0 10
C 7 Fast 7 9
C 8 Fast 5 10
C 10 Slow 3 13
C 11 Slow 7 8 
C 12 not_cleaved 0 16
C 13 Fast 9 13
C 14 Fast 6 11
C 15 Fast 7 12
C 16 Slow 2 10
C 17 Slow 4 8
C 18 not_cleaved 0 15
C 19 Fast 9 12
C 20 Fast 10 10
C 21 Fast 6 16
C 22 Slow 2 13
C 23 Slow 3 14
C 24 not_cleaved 1 4
C 25 Fast+ 1 1
C 26 Fast+ 2 4
C 27 Fast+ 1 2
C 28 Fast+ 2 3
D 1 Fast 12 4
D 2 Fast 10 5
D 3 Fast 12 3
D 4 Slow 11 7
D 5 Slow 8 10
D 6 not_cleaved 2 15
D 9 Slow 12 9
D 10 Slow 8 10
D 11 not_cleaved 0 9
D 12 not_cleaved 0 13
D 13 Fast 6 11
D 14 Fast 12 5
D 15 Fast 8 9
D 16 Slow 7 5
D 17 Slow 0 11
D 18 not_cleaved 0 11
D 19 Fast 6 6
D 20 Fast 8 4
D 21 Fast 9 3
D 22 Slow 3 6
D 23 Slow 2 6
D 24 not_cleaved 0 7
D 25 Fast+ 0 1
D 26 Fast+ 0 2
D 27 Fast+ 1 1
E 1 Fast 8 7
E 2 Fast 11 4
E 3 Fast 9 7
E 4 Slow 3 14
E 5 Slow 7 11
E 6 not_cleaved 0 16
E 7 Fast 12 7
E 8 Fast 14 4
E 9 Fast 13 5
E 10 Slow 5 8
E 11 Slow 8 3
E 12 not_cleaved 1 11
E 13 Fast 6 13
E 14 Fast 11 7
E 15 Fast 14 4
E 16 Slow 6 10
E 17 not_cleaved 0 9
E 18 Fast 7 11
E 19 Slow 1 6
E 20 not_cleaved 0 2
E 21 Fast+ 1 3
E 22 Fast+ 3 4
F 1 Fast 7 7
F 2 Fast 8 6
F 3 Fast 11 2
F 4 Slow 2 7
F 5 Slow 4 4
F 6 not_cleaved 1 17
F 7 Fast 10 5
F 8 Fast 7 8
F 9 Fast 5 9
F 10 Slow 1 8
F 11 Slow 5 4
F 12 not_cleaved 0 12
F 13 Fast 6 6
F 14 Fast 8 4
F 15 Fast 5 7
F 16 Slow 0 12
F 17 Slow 4 8
F 18 not_cleaved 0 16
F 19 Fast 3 5
F 20 Slow 6 4
F 21 Slow 6 4
F 22 not_cleaved 0 10
F 23 Fast+ 1 3
F 24 Fast+ 2 7
F 25 Fast+ 3 1
F 26 Fast+ 0 2
G 1 Fast 8 4
G 2 Fast 6 5
G 3 Fast 3 9
G 4 Slow 3 9
G 5 not_cleaved 0 29
G 6 Fast+ 0 4
G 7 Fast 4 7
G 8 Fast 4 7
G 9 Fast 4 6
G 10 Slow 4 11
G 11 not_cleaved 0 32
G 12 Fast+ 1 1
G 13 Fast 5 4
G 14 Fast 4 6
G 15 Fast 5 5
G 16 Slow 2 5
G 17 not_cleaved 0 39
G 18 Fast+ 1 2 
G 19 Fast 6 5
G 20 Fast 5 6
G 21 Fast 3 7
G 22 Slow 7 4
G 23 not_cleaved 0 33
G 24 Fast+ 1 3 
G 26 Fast 5 5
G 27 Fast 3 7
G 28 Slow 4 4
G 29 not_cleaved 0 35
G 30 Fast+ 2 6
G 31 Fast 2 5
G 32 Slow 2 2
G 33 not_cleaved 0 7
G 34 Fast+ 0 1
G 35 Fast 10 6
G 36 Fast 5 9
G 37 Fast 6 8
G 38 Slow 3 11
G 39 not_cleaved 0 13
G 40 Fast+ 2 6
")

Data_8 = read.table(textConnection(Input_Day8Blastocysts),header=TRUE)
Data_8$Replicate<-as.factor(Data_8$Replicate)
Data_8$Group<-as.factor(Data_8$Group)

Summary of overall blastocyst yield

round(sum(Data_8$B)/(sum(Data_8$B)+sum(Data_8$NB))*100 ,1)
## [1] 35.8
Data_8 %>% dplyr::mutate(percent = (B/(B+NB))*100) %>% mutate_at(vars(percent), ~replace(., is.nan(.), 0)) %>% group_by(Group) %>% dplyr::summarize(n_embryos= sum(B+NB),average= mean(percent, na.rm=TRUE))
## # A tibble: 4 × 3
##   Group       n_embryos average
##   <fct>           <int>   <dbl>
## 1 Fast             1094   51.8 
## 2 Fast+              91   24.8 
## 3 not_cleaved       570    2.99
## 4 Slow              750   38.1

Linear Model

Create the linear model

rm(model.log)
#model.log<-glm(cbind(B,NB) ~ Group + Replicate, family = binomial(link = "logit"), data = Data_8)
model.log<-glmer(cbind(B,NB) ~ Group + (1|Replicate), family = binomial(link = "logit"), data = Data_8)

ANOVA Wald test

Analysis of Variance with the Wald test

Anova(model.log,     type="III",      test.statistic="Chisq")
## Analysis of Deviance Table (Type III Wald chisquare tests)
## 
## Response: cbind(B, NB)
##                Chisq Df Pr(>Chisq)    
## (Intercept)   0.9173  1     0.3382    
## Group       211.6437  3     <2e-16 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Linear contrasts

Pair-wise tests of proportions.

emmeans(model.log, pairwise ~ Group, type='response')
## $emmeans
##  Group         prob      SE  df asymp.LCL asymp.UCL
##  Fast        0.5305 0.03178 Inf    0.4681    0.5920
##  Fast+       0.2963 0.05486 Inf    0.2009    0.4136
##  not_cleaved 0.0249 0.00711 Inf    0.0141    0.0433
##  Slow        0.3745 0.03168 Inf    0.3147    0.4383
## 
## Confidence level used: 0.95 
## Intervals are back-transformed from the logit scale 
## 
## $contrasts
##  contrast              odds.ratio     SE  df null z.ratio p.value
##  Fast / (Fast+)            2.6838  0.659 Inf    1   4.020  0.0003
##  Fast / not_cleaved       44.3414 12.370 Inf    1  13.592  <.0001
##  Fast / Slow               1.8876  0.188 Inf    1   6.364  <.0001
##  (Fast+) / not_cleaved    16.5217  5.971 Inf    1   7.760  <.0001
##  (Fast+) / Slow            0.7033  0.177 Inf    1  -1.398  0.5006
##  not_cleaved / Slow        0.0426  0.012 Inf    1 -11.186  <.0001
## 
## P value adjustment: tukey method for comparing a family of 4 estimates 
## Tests are performed on the log odds ratio scale
emmeans(model.log, ~Group, type='response') %>% multcomp::cld(Letters=letters)
##  Group         prob      SE  df asymp.LCL asymp.UCL .group
##  not_cleaved 0.0249 0.00711 Inf    0.0141    0.0433  a    
##  Fast+       0.2963 0.05486 Inf    0.2009    0.4136   b   
##  Slow        0.3745 0.03168 Inf    0.3147    0.4383   b   
##  Fast        0.5305 0.03178 Inf    0.4681    0.5920    c  
## 
## Confidence level used: 0.95 
## Intervals are back-transformed from the logit scale 
## P value adjustment: tukey method for comparing a family of 4 estimates 
## Tests are performed on the log odds ratio scale 
## significance level used: alpha = 0.05 
## NOTE: Compact letter displays can be misleading
##       because they show NON-findings rather than findings.
##       Consider using 'pairs()', 'pwpp()', or 'pwpm()' instead.
summary(glht(model.log, linfct = mcp(Group = "Tukey")))
## 
##   Simultaneous Tests for General Linear Hypotheses
## 
## Multiple Comparisons of Means: Tukey Contrasts
## 
## 
## Fit: glmer(formula = cbind(B, NB) ~ Group + (1 | Replicate), data = Data_8, 
##     family = binomial(link = "logit"))
## 
## Linear Hypotheses:
##                          Estimate Std. Error z value Pr(>|z|)    
## Fast+ - Fast == 0        -0.98724    0.24556  -4.020   <0.001 ***
## not_cleaved - Fast == 0  -3.79192    0.27898 -13.592   <0.001 ***
## Slow - Fast == 0         -0.63529    0.09982  -6.364   <0.001 ***
## not_cleaved - Fast+ == 0 -2.80468    0.36141  -7.760   <0.001 ***
## Slow - Fast+ == 0         0.35195    0.25177   1.398     0.47    
## Slow - not_cleaved == 0   3.15663    0.28219  11.186   <0.001 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## (Adjusted p values reported -- single-step method)

Survival to cryopreservation

Load the data for analysis

Input_cryopreservation = ("
Group   Replicate   Time_post_thaw  Hatched N_Hatched   Males   Females
Fast    1   24_hours    9   49  -   -
Slow    1   24_hours    7   23  -   -
Fast    2   24_hours    7   33  -   -
Slow    2   24_hours    3   11  -   -
Fast    1   48_hours    21  37  -   -
Slow    1   48_hours    9   21  -   -
Fast    2   48_hours    15  25  -   -
Slow    2   48_hours    3   11  -   -
Fast    1   72_hours    28  30  8   15
Slow    1   72_hours    11  19  5   5
Fast    2   72_hours    22  18  10  12
Slow    2   72_hours    5   9   2   3
")

Data_cryopreservation = read.table(textConnection(Input_cryopreservation),header=TRUE)
Data_cryopreservation$Replicate<-as.factor(Data_cryopreservation$Replicate)
Data_cryopreservation$Group<-as.factor(Data_cryopreservation$Group)
Data_cryopreservation$Time_post_thaw<-as.factor(Data_cryopreservation$Time_post_thaw)

Linear Model

Create the linear model

rm(model.log)
model.log<-glmer(cbind(Hatched,N_Hatched) ~ Group +  Time_post_thaw + (1|Replicate), family = binomial(link = "logit"), data = Data_cryopreservation)

ANOVA Wald test

Analysis of Variance with the Wald test

Anova(model.log,     type="III",      test.statistic="Chisq")
## Analysis of Deviance Table (Type III Wald chisquare tests)
## 
## Response: cbind(Hatched, N_Hatched)
##                  Chisq Df Pr(>Chisq)    
## (Intercept)    38.8573  1  4.559e-10 ***
## Group           1.5277  1     0.2165    
## Time_post_thaw 24.4193  2  4.982e-06 ***
## ---
## Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Linear contrasts

Pair-wise tests of proportions.

emmeans(model.log, pairwise ~ Group, type='response', by="Time_post_thaw")
## $emmeans
## Time_post_thaw = 24_hours:
##  Group  prob     SE  df asymp.LCL asymp.UCL
##  Fast  0.196 0.0357 Inf    0.1353     0.275
##  Slow  0.154 0.0361 Inf    0.0959     0.239
## 
## Time_post_thaw = 48_hours:
##  Group  prob     SE  df asymp.LCL asymp.UCL
##  Fast  0.358 0.0437 Inf    0.2773     0.447
##  Slow  0.294 0.0507 Inf    0.2053     0.402
## 
## Time_post_thaw = 72_hours:
##  Group  prob     SE  df asymp.LCL asymp.UCL
##  Fast  0.487 0.0457 Inf    0.3987     0.576
##  Slow  0.415 0.0570 Inf    0.3095     0.530
## 
## Confidence level used: 0.95 
## Intervals are back-transformed from the logit scale 
## 
## $contrasts
## Time_post_thaw = 24_hours:
##  contrast    odds.ratio    SE  df null z.ratio p.value
##  Fast / Slow       1.34 0.314 Inf    1   1.236  0.2165
## 
## Time_post_thaw = 48_hours:
##  contrast    odds.ratio    SE  df null z.ratio p.value
##  Fast / Slow       1.34 0.314 Inf    1   1.236  0.2165
## 
## Time_post_thaw = 72_hours:
##  contrast    odds.ratio    SE  df null z.ratio p.value
##  Fast / Slow       1.34 0.314 Inf    1   1.236  0.2165
## 
## Tests are performed on the log odds ratio scale
emmeans(model.log, pairwise ~ Group, by="Time_post_thaw")
## $emmeans
## Time_post_thaw = 24_hours:
##  Group  emmean    SE  df asymp.LCL asymp.UCL
##  Fast  -1.4112 0.226 Inf    -1.855    -0.967
##  Slow  -1.7015 0.277 Inf    -2.244    -1.159
## 
## Time_post_thaw = 48_hours:
##  Group  emmean    SE  df asymp.LCL asymp.UCL
##  Fast  -0.5852 0.190 Inf    -0.958    -0.212
##  Slow  -0.8755 0.244 Inf    -1.354    -0.397
## 
## Time_post_thaw = 72_hours:
##  Group  emmean    SE  df asymp.LCL asymp.UCL
##  Fast  -0.0519 0.183 Inf    -0.411     0.307
##  Slow  -0.3423 0.235 Inf    -0.803     0.118
## 
## Results are given on the logit (not the response) scale. 
## Confidence level used: 0.95 
## 
## $contrasts
## Time_post_thaw = 24_hours:
##  contrast    estimate    SE  df z.ratio p.value
##  Fast - Slow     0.29 0.235 Inf   1.236  0.2165
## 
## Time_post_thaw = 48_hours:
##  contrast    estimate    SE  df z.ratio p.value
##  Fast - Slow     0.29 0.235 Inf   1.236  0.2165
## 
## Time_post_thaw = 72_hours:
##  contrast    estimate    SE  df z.ratio p.value
##  Fast - Slow     0.29 0.235 Inf   1.236  0.2165
## 
## Results are given on the log odds ratio (not the response) scale.

Fisher exact test - sex

Pair-wise tests of proportions.

M <- as.table(rbind(c(8+10, 15+12), c(5+2,5+3)))
dimnames(M) <- list(group = c("Fast","Slow"),sex = c("F", "M"))
        
fisher.test(M,simulate.p.value = TRUE, B = 20000)
## 
##  Fisher's Exact Test for Count Data
## 
## data:  M
## p-value = 0.7649
## alternative hypothesis: true odds ratio is not equal to 1
## 95 percent confidence interval:
##  0.2009238 2.9610368
## sample estimates:
## odds ratio 
##  0.7654199

sessionInfo

sessionInfo()
## R version 4.0.3 (2020-10-10)
## Platform: x86_64-apple-darwin17.0 (64-bit)
## Running under: macOS Big Sur 10.16
## 
## Matrix products: default
## BLAS:   /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRblas.dylib
## LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib
## 
## locale:
## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base     
## 
## other attached packages:
##  [1] lme4_1.1-27.1   Matrix_1.3-4    multcomp_1.4-17 TH.data_1.1-0   MASS_7.3-54     survival_3.2-13 mvtnorm_1.1-2   emmeans_1.7.0   car_3.0-11      carData_3.0-4   aod_1.3.1       forcats_0.5.1   stringr_1.4.0   dplyr_1.0.7     purrr_0.3.4     readr_2.0.2     tidyr_1.1.4     tibble_3.1.5    ggplot2_3.3.5   tidyverse_1.3.1
## 
## loaded via a namespace (and not attached):
##  [1] nlme_3.1-153       fs_1.5.0           lubridate_1.7.10   httr_1.4.2         tools_4.0.3        backports_1.2.1    utf8_1.2.2         R6_2.5.1           DBI_1.1.1          colorspace_2.0-2   withr_2.4.2        tidyselect_1.1.1   curl_4.3.2         compiler_4.0.3     cli_3.0.1          rvest_1.0.1        xml2_1.3.2         sandwich_3.0-1     scales_1.1.1       multcompView_0.1-8 digest_0.6.28      foreign_0.8-81     minqa_1.2.4        rmarkdown_2.11     rio_0.5.27         pkgconfig_2.0.3    htmltools_0.5.2    dbplyr_2.1.1       fastmap_1.1.0      rlang_0.4.11       readxl_1.3.1       rstudioapi_0.13    jquerylib_0.1.4    generics_0.1.0     zoo_1.8-9          jsonlite_1.7.2     zip_2.2.0          magrittr_2.0.1     Rcpp_1.0.7         munsell_0.5.0      fansi_0.5.0        abind_1.4-5        lifecycle_1.0.1    stringi_1.7.5      yaml_2.2.1         grid_4.0.3         crayon_1.4.1       lattice_0.20-45    haven_2.4.3        splines_4.0.3      hms_1.1.1          knitr_1.36         pillar_1.6.3       boot_1.3-28        estimability_1.3   codetools_0.2-18   reprex_2.0.1       glue_1.4.2         evaluate_0.14      data.table_1.14.2  modelr_0.1.8       vctrs_0.3.8        nloptr_1.2.2.2     tzdb_0.1.2         cellranger_1.1.0   gtable_0.3.0       assertthat_0.2.1   xfun_0.26          openxlsx_4.2.4     mime_0.12          xtable_1.8-4       broom_0.7.9        ellipsis_0.3.2