Introduction
This is an extension to the previous report titled “Individual and
meta-analysis of genomide-wide predictions”. Here, we further show some
relationships and estimated breeding values using meta-SNP effects
across populations. Note, this document (as well as the previous) uses
the same ‘ultimate meat pH’ as the phenotypic
variable.
Load Libraries
library(data.table)
library(gwaR)
library(regress)
library(Matrix)
library(knitr)
library(magrittr)
library(ggplot2)
library(kableExtra)
library(qqman)
Load Necessary Functions and datasets
Basically, the gwaR package was used in computing these functions to
perform the genome-wide prediction from genomic best linear unbiased
prediction (GBLUP).
source("Toolkit_function.R")
source("toolkit_function_Meta_v2.R")
load("Pop1.Rdata")
load("comm_g_var.Rdata")
load("Pop2.Rdata")
load("msu_g_var.Rdata")
load("Pop3.Rdata")
load("marc_g_var.Rdata")
#Required population datasets were loaded as in part1
Output for Estimated genetic variance
kable(x1, caption="Estimated genetic variance", col.names = c("Pop1", "Pop2", "Pop3", "Meta"))%>%kable_styling(latex_options = "scale down")
Estimated genetic variance
|
Pop1
|
Pop2
|
Pop3
|
Meta
|
|
0.0097099
|
0.0030214
|
0.0061176
|
0.0072951
|
Breeding values estimated using meta-SNP effect
Pop1 <- read_poly(com_filter$geno, meta$ghat)
## .........................................
## Estimated breeding value showing first 6 animals of 1857 :
## [,1]
## [1,] 0.02973056
## [2,] 0.01937412
## [3,] 0.05259549
## [4,] 0.03154981
## [5,] -0.01356126
## [6,] 0.04172895
## .........................................
Pop2 <- read_poly(msu_filter$geno, meta$ghat)
## .........................................
## Estimated breeding value showing first 6 animals of 904 :
## [,1]
## [1,] 0.04290191
## [2,] 0.03637714
## [3,] -0.12191415
## [4,] 0.04274640
## [5,] 0.10285873
## [6,] -0.03380150
## .........................................
Pop3 <- read_poly(mac_filter$geno, meta$ghat)
## .........................................
## Estimated breeding value showing first 6 animals of 530 :
## [,1]
## [1,] 0.05680378
## [2,] -0.03529593
## [3,] -0.02191941
## [4,] -0.07912480
## [5,] -0.08487892
## [6,] -0.01974606
## .........................................