eigen_analyse_vectors: Eigen Analysis of Allele Frequency Change Vector Matrix

View source: R/eigen_analyse_vectors.R

eigen_analyse_vectorsR Documentation

Eigen Analysis of Allele Frequency Change Vector Matrix

Description

Performs eigen decomposition of a single matrix of normalised allele frequency change vectors. Can be run across the output of calc_AF_vectors() by combining with lapply()

Usage

eigen_analyse_vectors(vector_input)

Arguments

vector_input

A matrix of allele frequency change vectors

Value

A list object with three elements detailing the results: "eigenvals" contains the eigenvalue distribution, "eigenvecs" contains the eigenvectors, "A_matrix" contains the projected SNP scores for each eigenvector


JimWhiting91/afvaper documentation built on Aug. 30, 2022, 10:03 a.m.