Learn R Programming

NAM (version 1.1.2)

snpH2: SNP heritability

Description

Calculates the ability of markers to carry a gene.

Usage

snpH2(gen)

Arguments

gen
Numeric matrix containing the genotypic data. A matrix with $n$ rows of observations and ($m$) columns of molecular markers. Missing values not allowed.

Value

  • Numeric vector containing the heritability of each markers.

References

Forneris, N. et al (2014). Quality Control of Genotypes Using Heritability Estimates of Gene Content. In 10th World Congress on Genetics Applied to Livestock Production. Asas.

Examples

Run this code
data(tpod)
Heritability=snpH2(gen)
plot(Heritability)

Run the code above in your browser using DataLab