Mat: Kinship Matrix Creator

Description Usage Arguments Value Author(s) References Examples

Description

This function creates a kinship matrix for a set of genotypes. This function is a simplified version of the function "A.mat" in the R package rrBLUP.

Usage

1
Mat(genos)

Arguments

genos

A matrix of genotypes, where each column is one individual, each row is one marker, and marker values are 1, 0, or -1, or NA, where 0 represents a heterozygous marker, and NA represents missing data. All data in this matrix must be numeric.

Value

A matrix of kinship values between genotypes.

Author(s)

Ryan C. Graebner

References

Endelman JB (2011) Ridge regression and other kernels for genomic selection with R package rrBLUP. The Plant Genome 4:250-255.

Examples

1
2

GeneticSubsetter documentation built on May 2, 2019, 3:56 a.m.