Code
par(mfrow= c(1, 3))
par(mar=c(5,7,6,0))
plot(Gh_AYT_O, mt_AYT_O, xlab = expression(hat(g)[AYT_O]),
ylab = expression(hat(g)[MetaPAs]), cex.lab= 1.5, col="orangered3")
plot(Gh_AYT_S, mt_AYT_S, xlab = expression(hat(g)[AYT_S]),
ylab = expression(hat(g)[MetaPAo]), cex.lab= 1.5, col="gold3")
plot(Gh_PYT_S, mt_PYT_S, xlab = expression(hat(g)[PYT_S]),
ylab = expression(hat(g)[MetaAAs]), cex.lab= 1.5, col="forestgreen")
mtext("BM \n Within Estimated SNP effect vs Meta-SNP effect", side =3, line= -4,
outer = TRUE)Code
df_var <- data.frame(Within=c(GP_AYT_O, GP_AYT_S, GP_PYT_S), Meta = c(mt2_AYT_O,
mt2_AYT_S, mt2_PYT_S),
n = c(1682, 812, 7774)) %>%
`row.names<-`(c("AYT-O", "AYT-S", "PYT-S"))
kable(df_var,caption="Estimated genetic variance") %>%
kable_styling(latex_options = "scale_down")%>%
add_footnote(c("n= number of lines"))| Within | Meta | n | |
|---|---|---|---|
| AYT-O | 0.5164847 | 0.3200712 | 1682 |
| AYT-S | 0.2572273 | 0.3603862 | 812 |
| PYT-S | 0.3266281 | 0.4321116 | 7774 |
| a n= number of lines |