Performs PCA using the genome relationship matrix (GRM).

doPCA(genotypes)

Arguments

genotypes

Genotype matrix.

Value

List containing `pcs` (principal components) and `eigen` (eigenvalues).

Author

Roberto Higa

Examples

# Requires matrix of numeric genotypes