Performs PCA using the genome relationship matrix (GRM).

doPCA(genotypes)

Arguments

genotypes

Genotype matrix.

Value

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

Examples

# Requires matrix of numeric genotypes