anc_coeff_to_GeneticSimilarityMatrix {GGoutlieR}R Documentation

calculate genetic similarity from ancestry coefficients.

Description

calculate genetic similarity from ancestry coefficients.

Usage

anc_coeff_to_GeneticSimilarityMatrix(anc_coef)

Arguments

anc_coef

a matrix of ancestry coefficients with samples by rows. Each column corresponds to an ancestral population.

Details

Since ancestry coefficients can be interpreted as a propotion of genome derived from a specific ancestral population, this function calculate genetic similarity as the probability of a random genome segment of two individuals derived from the same ancestral population.


[Package GGoutlieR version 1.0.2 Index]