SNP H2 {NAM} | R Documentation |
Calculates the ability of markers to carry a gene (Foneris et al. 2015). The index is also an indicator of Mendelian segregation.
snpH2(gen,K=NULL)
gen |
Numeric matrix containing the genotypic data. A matrix with |
K |
Optional. Numeric matrix containing the genetic relationship matrix. A square and symmetric matrix ( |
Numeric vector containing the heritability of each markers. Foneris et al. (2015) recommends to avoid using markers with index lower than 0.98.
Alencar Xavier
Forneris, N. S., Legarra, A., Vitezica, Z. G., Tsuruta, S., Aguilar, I., Misztal, I., & Cantet, R. J. (2015). Quality Control of Genotypes Using Heritability Estimates of Gene Content at the Marker. Genetics 199(3):675-681.
## Not run:
data(tpod)
Heritability=snpH2(gen)
plot(Heritability,chr=chr)
## End(Not run)