Analysis of Variance ANOVA for metabolites detected
ANOVATest.data <- read.csv("C:/Users/cesar/Desktop/Tesis Maestria/TRATAMIENTOS/Nitrógeno/Nitrógeno Espinaca Anovas.csv")
attach(ANOVATest.data)
str(ANOVATest.data)
## 'data.frame': 30 obs. of 28 variables:
## $ Sample : int 1 2 3 4 5 6 7 8 9 10 ...
## $ Condition : chr "Standard" "Standard" "Standard" "Standard" ...
## $ Valine : num 144.7 64.1 104.2 146 72 ...
## $ Alanine : num 285.5 116.1 215.8 244.1 91.9 ...
## $ GABA : num 1041 432 535 1210 558 ...
## $ Glutamate : num 726 365 686 692 565 ...
## $ Malate : num 870 70 312 206 278 ...
## $ Succinate : num 125.4 23.5 56.5 54.4 57.3 ...
## $ Citrate : num 433.5 22.9 243.3 232.9 691.5 ...
## $ Aspartate : num 1037 372 608 552 304 ...
## $ Betaine : num 1853 506 1646 1612 928 ...
## $ Glucose : num 769 301 478 683 376 ...
## $ Fructose : num 767 295 556 630 352 ...
## $ Sucrose : num 902 187 501 800 407 ...
## $ Ascorbate : num 103.5 30.1 71.2 191.4 234.4 ...
## $ Uridine : num 225 120 137 208 106 ...
## $ Adenosine : num 164 108 120 184 108 ...
## $ Fumarate : num 247.3 27.9 81.1 76.1 79.2 ...
## $ Tyrosine : num 79.8 32 70.1 78.9 34.7 40.7 61.1 31.3 42.5 39.7 ...
## $ Phenylalanine: num 82.5 34 67.6 85 37.8 37.2 58 38.3 45.1 44 ...
## $ Guanosine : num 193 117 136 203 109 ...
## $ Formate : num 51.6 33.9 65.1 32.1 24.7 26.2 51 29.1 37.2 24.3 ...
## $ Choline : num 286 183 228 278 181 ...
## $ Ferulate : num 35 29.6 11.7 36.7 23.2 29.2 47.1 12.7 21 23.1 ...
## $ Glycerol : num 494 210 353 386 216 ...
## $ Isoleucine : num 92.3 37.4 70.5 86.5 46.1 48.3 70 44 48.5 48.5 ...
## $ Leucine : num 156.8 72 145.3 163.5 75.6 ...
## $ p.Cumarate : num 17.9 12.3 13.9 24.5 12.2 13 15.7 7.7 12.6 11 ...
Alanine
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Alanine[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Alanine[Condition == "Standard"]
## W = 0.88112, p-value = 0.1344
with(ANOVATest.data, shapiro.test(Alanine[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Alanine[Condition == "Deficiency"]
## W = 0.85022, p-value = 0.05844
with(ANOVATest.data, shapiro.test(Alanine[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Alanine[Condition == "Excess"]
## W = 0.87997, p-value = 0.1304
Hm_var <- bartlett.test(Alanine ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Alanine by Condition
## Bartlett's K-squared = 0.97398, df = 2, p-value = 0.6145
#### ONE WAY - ANOVA
OneWay_test <- aov(Alanine ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 31560 15780 2.783 0.0796 .
## Residuals 27 153107 5671
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Alanine ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency -14.92 -98.41895 68.578948 0.8978647
## Standard-Deficiency -75.04 -158.53895 8.458948 0.0843857
## Standard-Excess -60.12 -143.61895 23.378948 0.1935532
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Alanine, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Valine
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Valine[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Valine[Condition == "Standard"]
## W = 0.86053, p-value = 0.07741
with(ANOVATest.data, shapiro.test(Valine[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Valine[Condition == "Deficiency"]
## W = 0.94439, p-value = 0.6028
with(ANOVATest.data, shapiro.test(Valine[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Valine[Condition == "Excess"]
## W = 0.88871, p-value = 0.164
Hm_var <- bartlett.test(Valine ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Valine by Condition
## Bartlett's K-squared = 1.4655, df = 2, p-value = 0.4806
#### ONE WAY - ANOVA
OneWay_test <- aov(Valine ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 11186 5593 4.915 0.0151 *
## Residuals 27 30724 1138
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Valine ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 13.10 -24.30451 50.504507 0.6644547
## Standard-Deficiency -32.81 -70.21451 4.594507 0.0938819
## Standard-Excess -45.91 -83.31451 -8.505493 0.0138504
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Valine, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Leucine
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Leucine[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Leucine[Condition == "Standard"]
## W = 0.81318, p-value = 0.02096
with(ANOVATest.data, shapiro.test(Leucine[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Leucine[Condition == "Deficiency"]
## W = 0.86501, p-value = 0.08739
with(ANOVATest.data, shapiro.test(Leucine[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Leucine[Condition == "Excess"]
## W = 0.91243, p-value = 0.2981
Hm_var <- bartlett.test(Leucine ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Leucine by Condition
## Bartlett's K-squared = 0.17905, df = 2, p-value = 0.9144
#### ONE WAY - ANOVA
OneWay_test <- aov(Leucine ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 6056 3028 2.451 0.105
## Residuals 27 33361 1236
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Leucine ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 18.86 -20.11646 57.836465 0.4635417
## Standard-Deficiency -15.90 -54.87646 23.076465 0.5761586
## Standard-Excess -34.76 -73.73646 4.216465 0.0873245
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Leucine, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Isoleucine
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Isoleucine[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Isoleucine[Condition == "Standard"]
## W = 0.86039, p-value = 0.07711
with(ANOVATest.data, shapiro.test(Isoleucine[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Isoleucine[Condition == "Deficiency"]
## W = 0.90013, p-value = 0.2198
with(ANOVATest.data, shapiro.test(Isoleucine[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Isoleucine[Condition == "Excess"]
## W = 0.91497, p-value = 0.3169
Hm_var <- bartlett.test(Isoleucine ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Isoleucine by Condition
## Bartlett's K-squared = 1.837, df = 2, p-value = 0.3991
#### ONE WAY - ANOVA
OneWay_test <- aov(Isoleucine ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 1986 993.0 2.981 0.0677 .
## Residuals 27 8995 333.1
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Isoleucine ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 11.72 -8.518353 31.9583528 0.3372622
## Standard-Deficiency -8.10 -28.338353 12.1383528 0.5879147
## Standard-Excess -19.82 -40.058353 0.4183528 0.0557882
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Isoleucine, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

GABA
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(GABA[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: GABA[Condition == "Standard"]
## W = 0.86152, p-value = 0.07952
with(ANOVATest.data, shapiro.test(GABA[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: GABA[Condition == "Deficiency"]
## W = 0.86917, p-value = 0.09776
with(ANOVATest.data, shapiro.test(GABA[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: GABA[Condition == "Excess"]
## W = 0.97353, p-value = 0.9215
Hm_var <- bartlett.test(GABA ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: GABA by Condition
## Bartlett's K-squared = 3.1036, df = 2, p-value = 0.2119
#### ONE WAY - ANOVA
OneWay_test <- aov(GABA ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 31917 15959 0.354 0.705
## Residuals 27 1217894 45107
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = GABA ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 78.49 -157.0082 313.9882 0.6901838
## Standard-Deficiency 26.32 -209.1782 261.8182 0.9586184
## Standard-Excess -52.17 -287.6682 183.3282 0.8477196
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = GABA, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Betaine
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Betaine[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Betaine[Condition == "Standard"]
## W = 0.95821, p-value = 0.7653
with(ANOVATest.data, shapiro.test(Betaine[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Betaine[Condition == "Deficiency"]
## W = 0.593, p-value = 4.564e-05
with(ANOVATest.data, shapiro.test(Betaine[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Betaine[Condition == "Excess"]
## W = 0.92507, p-value = 0.4012
Hm_var <- bartlett.test(Betaine ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Betaine by Condition
## Bartlett's K-squared = 7.3267, df = 2, p-value = 0.02565
#### ONE WAY - ANOVA
OneWay_test <- aov(Betaine ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 1373405 686702 0.894 0.421
## Residuals 27 20740615 768171
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Betaine ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 110.56 -861.2774 1082.3974 0.9571587
## Standard-Deficiency -388.39 -1360.2274 583.4474 0.5888084
## Standard-Excess -498.95 -1470.7874 472.8874 0.4222173
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Betaine, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Phenylalanine
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Phenylalanine[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Phenylalanine[Condition == "Standard"]
## W = 0.84304, p-value = 0.04798
with(ANOVATest.data, shapiro.test(Phenylalanine[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Phenylalanine[Condition == "Deficiency"]
## W = 0.90457, p-value = 0.2457
with(ANOVATest.data, shapiro.test(Phenylalanine[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Phenylalanine[Condition == "Excess"]
## W = 0.8712, p-value = 0.1032
Hm_var <- bartlett.test(Phenylalanine ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Phenylalanine by Condition
## Bartlett's K-squared = 0.47373, df = 2, p-value = 0.7891
#### ONE WAY - ANOVA
OneWay_test <- aov(Phenylalanine ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 1595 797.7 2.306 0.119
## Residuals 27 9338 345.9
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Phenylalanine ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 11.35 -9.271268 31.971268 0.3730900
## Standard-Deficiency -6.27 -26.891268 14.351268 0.7339056
## Standard-Excess -17.62 -38.241268 3.001268 0.1048655
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Phenylalanine, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Tyrosine
#### PNORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Tyrosine[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Tyrosine[Condition == "Standard"]
## W = 0.84429, p-value = 0.04966
with(ANOVATest.data, shapiro.test(Tyrosine[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Tyrosine[Condition == "Deficiency"]
## W = 0.91435, p-value = 0.3122
with(ANOVATest.data, shapiro.test(Tyrosine[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Tyrosine[Condition == "Excess"]
## W = 0.93799, p-value = 0.5309
Hm_var <- bartlett.test(Tyrosine ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Tyrosine by Condition
## Bartlett's K-squared = 0.58795, df = 2, p-value = 0.7453
#### ONE WAY - ANOVA
OneWay_test <- aov(Tyrosine ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 1264 632.1 2.2 0.13
## Residuals 27 7756 287.3
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Tyrosine ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 9.02 -9.773589 27.813589 0.4691684
## Standard-Deficiency -6.83 -25.623589 11.963589 0.6442828
## Standard-Excess -15.85 -34.643589 2.943589 0.1106061
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Tyrosine, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Aspartate
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Aspartate[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Aspartate[Condition == "Standard"]
## W = 0.81738, p-value = 0.02356
with(ANOVATest.data, shapiro.test(Aspartate[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Aspartate[Condition == "Deficiency"]
## W = 0.71691, p-value = 0.001413
with(ANOVATest.data, shapiro.test(Aspartate[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Aspartate[Condition == "Excess"]
## W = 0.92927, p-value = 0.4407
Hm_var <- bartlett.test(Aspartate ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Aspartate by Condition
## Bartlett's K-squared = 7.7606, df = 2, p-value = 0.02064
#### ONE WAY - ANOVA
OneWay_test <- aov(Aspartate ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 67346 33673 1.228 0.309
## Residuals 27 740103 27411
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Aspartate ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency -1.50 -185.08154 182.0815 0.9997738
## Standard-Deficiency 99.75 -83.83154 283.3315 0.3822026
## Standard-Excess 101.25 -82.33154 284.8315 0.3716485
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Aspartate, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Glutamate
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Glutamate[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Glutamate[Condition == "Standard"]
## W = 0.91289, p-value = 0.3014
with(ANOVATest.data, shapiro.test(Glutamate[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Glutamate[Condition == "Deficiency"]
## W = 0.94504, p-value = 0.6103
with(ANOVATest.data, shapiro.test(Glutamate[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Glutamate[Condition == "Excess"]
## W = 0.95424, p-value = 0.7188
Hm_var <- bartlett.test(Glutamate ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Glutamate by Condition
## Bartlett's K-squared = 0.27217, df = 2, p-value = 0.8728
#### ONE WAY - ANOVA
OneWay_test <- aov(Glutamate ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 116494 58247 2.502 0.101
## Residuals 27 628475 23277
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Glutamate ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency -14.52 -183.69128 154.6513 0.9753658
## Standard-Deficiency 124.33 -44.84128 293.5013 0.1815047
## Standard-Excess 138.85 -30.32128 308.0213 0.1231242
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Glutamate, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Adenosine
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Adenosine[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Adenosine[Condition == "Standard"]
## W = 0.95656, p-value = 0.746
with(ANOVATest.data, shapiro.test(Adenosine[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Adenosine[Condition == "Deficiency"]
## W = 0.92283, p-value = 0.3812
with(ANOVATest.data, shapiro.test(Adenosine[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Adenosine[Condition == "Excess"]
## W = 0.95581, p-value = 0.7373
Hm_var <- bartlett.test(Adenosine ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Adenosine by Condition
## Bartlett's K-squared = 6.095, df = 2, p-value = 0.04748
#### ONE WAY - ANOVA
OneWay_test <- aov(Adenosine ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 50654 25327 5.418 0.0105 *
## Residuals 27 126215 4675
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Adenosine ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 21.42 -54.39199 97.231989 0.7652117
## Standard-Deficiency -74.46 -150.27199 1.351989 0.0549600
## Standard-Excess -95.88 -171.69199 -20.068011 0.0110885
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Adenosine, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Guanosine
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Guanosine[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Guanosine[Condition == "Standard"]
## W = 0.87891, p-value = 0.1268
with(ANOVATest.data, shapiro.test(Guanosine[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Guanosine[Condition == "Deficiency"]
## W = 0.90233, p-value = 0.2323
with(ANOVATest.data, shapiro.test(Guanosine[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Guanosine[Condition == "Excess"]
## W = 0.92873, p-value = 0.4355
Hm_var <- bartlett.test(Guanosine ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Guanosine by Condition
## Bartlett's K-squared = 5.9648, df = 2, p-value = 0.05067
#### ONE WAY - ANOVA
OneWay_test <- aov(Guanosine ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 76149 38075 9.015 0.001 **
## Residuals 27 114033 4223
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Guanosine ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency -12.05 -84.11076 60.01076 0.9099133
## Standard-Deficiency -112.39 -184.45076 -40.32924 0.0017627
## Standard-Excess -100.34 -172.40076 -28.27924 0.0050790
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Guanosine, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Uridine
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Uridine[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Uridine[Condition == "Standard"]
## W = 0.78339, p-value = 0.009104
with(ANOVATest.data, shapiro.test(Uridine[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Uridine[Condition == "Deficiency"]
## W = 0.89469, p-value = 0.1914
with(ANOVATest.data, shapiro.test(Uridine[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Uridine[Condition == "Excess"]
## W = 0.93107, p-value = 0.4585
Hm_var <- bartlett.test(Uridine ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Uridine by Condition
## Bartlett's K-squared = 2.7072, df = 2, p-value = 0.2583
#### ONE WAY - ANOVA
OneWay_test <- aov(Uridine ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 38439 19220 7.123 0.00328 **
## Residuals 27 72848 2698
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Uridine ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency -14.96 -72.55595 42.635948 0.7972892
## Standard-Deficiency -82.30 -139.89595 -24.704052 0.0040441
## Standard-Excess -67.34 -124.93595 -9.744052 0.0194785
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Uridine, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Glucose
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Glucose[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Glucose[Condition == "Standard"]
## W = 0.9035, p-value = 0.2392
with(ANOVATest.data, shapiro.test(Glucose[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Glucose[Condition == "Deficiency"]
## W = 0.94536, p-value = 0.6141
with(ANOVATest.data, shapiro.test(Glucose[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Glucose[Condition == "Excess"]
## W = 0.97905, p-value = 0.9599
Hm_var <- bartlett.test(Glucose ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Glucose by Condition
## Bartlett's K-squared = 6.1203, df = 2, p-value = 0.04688
#### ONE WAY - ANOVA
OneWay_test <- aov(Glucose ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 500299 250149 3.03 0.065 .
## Residuals 27 2228883 82551
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Glucose ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 2.43 -316.1558 321.01579 0.9998028
## Standard-Deficiency -272.72 -591.3058 45.86579 0.1040702
## Standard-Excess -275.15 -593.7358 43.43579 0.1002909
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Glucose, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Fructose
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Fructose[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Fructose[Condition == "Standard"]
## W = 0.872, p-value = 0.1055
with(ANOVATest.data, shapiro.test(Fructose[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Fructose[Condition == "Deficiency"]
## W = 0.97244, p-value = 0.9125
with(ANOVATest.data, shapiro.test(Fructose[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Fructose[Condition == "Excess"]
## W = 0.98099, p-value = 0.9702
Hm_var <- bartlett.test(Fructose ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Fructose by Condition
## Bartlett's K-squared = 3.1705, df = 2, p-value = 0.2049
#### ONE WAY - ANOVA
OneWay_test <- aov(Fructose ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 174019 87009 1.576 0.225
## Residuals 27 1490735 55212
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Fructose ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 74.08 -186.4652 334.6252 0.7626480
## Standard-Deficiency -111.24 -371.7852 149.3052 0.5473372
## Standard-Excess -185.32 -445.8652 75.2252 0.2008757
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Fructose, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Sucrose
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Sucrose[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Sucrose[Condition == "Standard"]
## W = 0.88543, p-value = 0.1506
with(ANOVATest.data, shapiro.test(Sucrose[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Sucrose[Condition == "Deficiency"]
## W = 0.73724, p-value = 0.002495
with(ANOVATest.data, shapiro.test(Sucrose[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Sucrose[Condition == "Excess"]
## W = 0.90621, p-value = 0.2559
Hm_var <- bartlett.test(Sucrose ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Sucrose by Condition
## Bartlett's K-squared = 3.0967, df = 2, p-value = 0.2126
#### ONE WAY - ANOVA
OneWay_test <- aov(Sucrose ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 696112 348056 10.86 0.000347 ***
## Residuals 27 865753 32065
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Sucrose ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 84.80 -113.75453 283.3545 0.5471324
## Standard-Deficiency 357.08 158.52547 555.6345 0.0003721
## Standard-Excess 272.28 73.72547 470.8345 0.0057900
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Sucrose, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Citrate
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Citrate[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Citrate[Condition == "Standard"]
## W = 0.96315, p-value = 0.8211
with(ANOVATest.data, shapiro.test(Citrate[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Citrate[Condition == "Deficiency"]
## W = 0.60952, p-value = 7.184e-05
with(ANOVATest.data, shapiro.test(Citrate[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Citrate[Condition == "Excess"]
## W = 0.8954, p-value = 0.1949
Hm_var <- bartlett.test(Citrate ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Citrate by Condition
## Bartlett's K-squared = 0.3842, df = 2, p-value = 0.8252
#### ONE WAY - ANOVA
OneWay_test <- aov(Citrate ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 201287 100643 3.343 0.0505 .
## Residuals 27 812907 30108
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Citrate ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 149.52 -42.879233 341.9192 0.1505558
## Standard-Deficiency 190.63 -1.769233 383.0292 0.0525055
## Standard-Excess 41.11 -151.289233 233.5092 0.8574757
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Citrate, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Malate
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Malate[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Malate[Condition == "Standard"]
## W = 0.77158, p-value = 0.006538
with(ANOVATest.data, shapiro.test(Malate[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Malate[Condition == "Deficiency"]
## W = 0.68437, p-value = 0.0005698
with(ANOVATest.data, shapiro.test(Malate[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Malate[Condition == "Excess"]
## W = 0.82744, p-value = 0.03117
Hm_var <- bartlett.test(Malate ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Malate by Condition
## Bartlett's K-squared = 22.87, df = 2, p-value = 1.081e-05
#### ONE WAY - ANOVA
OneWay_test <- aov(Malate ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 430784 215392 11.34 0.000266 ***
## Residuals 27 512947 18998
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Malate ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 118.98 -33.85373 271.8137 0.1496332
## Standard-Deficiency 291.87 139.03627 444.7037 0.0001785
## Standard-Excess 172.89 20.05627 325.7237 0.0242248
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Malate, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Succinate
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Succinate[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Succinate[Condition == "Standard"]
## W = 0.86011, p-value = 0.07653
with(ANOVATest.data, shapiro.test(Succinate[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Succinate[Condition == "Deficiency"]
## W = 0.95106, p-value = 0.6811
with(ANOVATest.data, shapiro.test(Succinate[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Succinate[Condition == "Excess"]
## W = 0.95623, p-value = 0.7422
Hm_var <- bartlett.test(Succinate ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Succinate by Condition
## Bartlett's K-squared = 17.895, df = 2, p-value = 0.0001301
#### ONE WAY - ANOVA
OneWay_test <- aov(Succinate ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 10801 5401 17.88 1.13e-05 ***
## Residuals 27 8155 302
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Succinate ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 16.74 -2.531005 36.011 0.0978756
## Standard-Deficiency 45.92 26.648995 65.191 0.0000079
## Standard-Excess 29.18 9.908995 48.451 0.0023581
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Succinate, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Fumarate
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Fumarate[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Fumarate[Condition == "Standard"]
## W = 0.73297, p-value = 0.002214
with(ANOVATest.data, shapiro.test(Fumarate[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Fumarate[Condition == "Deficiency"]
## W = 0.82455, p-value = 0.02876
with(ANOVATest.data, shapiro.test(Fumarate[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Fumarate[Condition == "Excess"]
## W = 0.96426, p-value = 0.8332
Hm_var <- bartlett.test(Fumarate ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Fumarate by Condition
## Bartlett's K-squared = 25.088, df = 2, p-value = 3.567e-06
#### ONE WAY - ANOVA
OneWay_test <- aov(Fumarate ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 23100 11550 8.291 0.00156 **
## Residuals 27 37614 1393
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Fumarate ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 24.89 -16.4966394 66.27664 0.3108934
## Standard-Deficiency 67.22 25.8333606 108.60664 0.0011622
## Standard-Excess 42.33 0.9433606 83.71664 0.0442431
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Fumarate, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Formate
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Formate[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Formate[Condition == "Standard"]
## W = 0.86734, p-value = 0.09308
with(ANOVATest.data, shapiro.test(Formate[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Formate[Condition == "Deficiency"]
## W = 0.88121, p-value = 0.1347
with(ANOVATest.data, shapiro.test(Formate[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Formate[Condition == "Excess"]
## W = 0.79587, p-value = 0.01292
Hm_var <- bartlett.test(Formate ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Formate by Condition
## Bartlett's K-squared = 1.2051, df = 2, p-value = 0.5474
#### ONE WAY - ANOVA
OneWay_test <- aov(Formate ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 80 39.98 0.208 0.814
## Residuals 27 5194 192.37
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Formate ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency -1.57 -16.94923 13.80923 0.9653444
## Standard-Deficiency 2.40 -12.97923 17.77923 0.9210316
## Standard-Excess 3.97 -11.40923 19.34923 0.7994905
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Formate, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

p.Cumarate
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(p.Cumarate[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: p.Cumarate[Condition == "Standard"]
## W = 0.8903, p-value = 0.1709
with(ANOVATest.data, shapiro.test(p.Cumarate[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: p.Cumarate[Condition == "Deficiency"]
## W = 0.78396, p-value = 0.009252
with(ANOVATest.data, shapiro.test(p.Cumarate[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: p.Cumarate[Condition == "Excess"]
## W = 0.96888, p-value = 0.8803
Hm_var <- bartlett.test(p.Cumarate ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: p.Cumarate by Condition
## Bartlett's K-squared = 1.7843, df = 2, p-value = 0.4098
#### ONE WAY - ANOVA
OneWay_test <- aov(p.Cumarate ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 607.9 303.97 7.944 0.00194 **
## Residuals 27 1033.2 38.27
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = p.Cumarate ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 3.67 -3.189148 10.529148 0.3930918
## Standard-Deficiency -7.17 -14.029148 -0.310852 0.0391455
## Standard-Excess -10.84 -17.699148 -3.980852 0.0015428
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = p.Cumarate, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Ferulate
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Ferulate[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Ferulate[Condition == "Standard"]
## W = 0.96458, p-value = 0.8365
with(ANOVATest.data, shapiro.test(Ferulate[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Ferulate[Condition == "Deficiency"]
## W = 0.86086, p-value = 0.07811
with(ANOVATest.data, shapiro.test(Ferulate[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Ferulate[Condition == "Excess"]
## W = 0.97283, p-value = 0.9158
Hm_var <- bartlett.test(Ferulate ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Ferulate by Condition
## Bartlett's K-squared = 0.096786, df = 2, p-value = 0.9528
#### ONE WAY - ANOVA
OneWay_test <- aov(Ferulate ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 566 283.0 2.206 0.13
## Residuals 27 3464 128.3
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Ferulate ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 0.92 -11.63881 13.478807 0.9819896
## Standard-Deficiency -8.72 -21.27881 3.838807 0.2156730
## Standard-Excess -9.64 -22.19881 2.918807 0.1571636
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Ferulate, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Glycerol
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Glycerol[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Glycerol[Condition == "Standard"]
## W = 0.86273, p-value = 0.08218
with(ANOVATest.data, shapiro.test(Glycerol[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Glycerol[Condition == "Deficiency"]
## W = 0.76101, p-value = 0.00486
with(ANOVATest.data, shapiro.test(Glycerol[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Glycerol[Condition == "Excess"]
## W = 0.90413, p-value = 0.2431
Hm_var <- bartlett.test(Glycerol ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Glycerol by Condition
## Bartlett's K-squared = 0.18336, df = 2, p-value = 0.9124
#### ONE WAY - ANOVA
OneWay_test <- aov(Glycerol ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 3820 1910 0.217 0.807
## Residuals 27 238154 8821
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Glycerol ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 27.46 -76.67859 131.59859 0.7918302
## Standard-Deficiency 16.47 -87.66859 120.60859 0.9189882
## Standard-Excess -10.99 -115.12859 93.14859 0.9630129
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Glycerol, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Ascorbate
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Ascorbate[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Ascorbate[Condition == "Standard"]
## W = 0.93411, p-value = 0.4895
with(ANOVATest.data, shapiro.test(Ascorbate[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Ascorbate[Condition == "Deficiency"]
## W = 0.67348, p-value = 0.000421
with(ANOVATest.data, shapiro.test(Ascorbate[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Ascorbate[Condition == "Excess"]
## W = 0.90849, p-value = 0.2708
Hm_var <- bartlett.test(Ascorbate ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Ascorbate by Condition
## Bartlett's K-squared = 0.56718, df = 2, p-value = 0.7531
#### ONE WAY - ANOVA
OneWay_test <- aov(Ascorbate ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 24595 12298 1.796 0.185
## Residuals 27 184871 6847
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Ascorbate ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency 47.53 -44.22228 139.2823 0.4159178
## Standard-Deficiency 68.43 -23.32228 160.1823 0.1730930
## Standard-Excess 20.90 -70.85228 112.6523 0.8397915
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Ascorbate, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()

Choline
#### NORMALITY's TEST AND HOMOGENEITY OF VARIANCE
with(ANOVATest.data, shapiro.test(Choline[Condition == "Standard"]))
##
## Shapiro-Wilk normality test
##
## data: Choline[Condition == "Standard"]
## W = 0.91623, p-value = 0.3266
with(ANOVATest.data, shapiro.test(Choline[Condition == "Deficiency"]))
##
## Shapiro-Wilk normality test
##
## data: Choline[Condition == "Deficiency"]
## W = 0.55025, p-value = 1.42e-05
with(ANOVATest.data, shapiro.test(Choline[Condition == "Excess"]))
##
## Shapiro-Wilk normality test
##
## data: Choline[Condition == "Excess"]
## W = 0.91594, p-value = 0.3244
Hm_var <- bartlett.test(Choline ~ Condition, data =ANOVATest.data)
Hm_var
##
## Bartlett test of homogeneity of variances
##
## data: Choline by Condition
## Bartlett's K-squared = 14.682, df = 2, p-value = 0.0006485
#### ONE WAY - ANOVA
OneWay_test <- aov(Choline ~ Condition, data =ANOVATest.data)
summary(OneWay_test)
## Df Sum Sq Mean Sq F value Pr(>F)
## Condition 2 14789 7395 0.672 0.519
## Residuals 27 297036 11001
#### POST-HOC TUKEY's Test
TukeyHSD(OneWay_test)
## Tukey multiple comparisons of means
## 95% family-wise confidence level
##
## Fit: aov(formula = Choline ~ Condition, data = ANOVATest.data)
##
## $Condition
## diff lwr upr p adj
## Excess-Deficiency -40.36 -156.6621 75.94209 0.6693299
## Standard-Deficiency -51.75 -168.0521 64.55209 0.5203512
## Standard-Excess -11.39 -127.6921 104.91209 0.9680573
#### BOXPLOT
ggplot(ANOVATest.data, aes(x = Condition, y = Choline, fill = Condition)) +
geom_boxplot() +
geom_jitter (shape = 15,
color = "steelblue",
position = position_jitter(0.21)) +
theme_classic()
