popgen_mutual_information: Calculate genetic and population mutual information.

Description Usage Arguments

Description

popgen_mutual_information() Calculate genetic and population mutual information given the allele frequecies and prior probability of an idividual to belong to one population

Usage

1
popgen_mutual_information(freq_list, prior_key = "uniform")

Arguments

freq_list

list of data.table. Each element of the list is a data.table object with the allele frequency of the variants of one population.

prior_key

string. Gives the which prior information should be used to calculate the mutual information (genetic or uniform). The uniform prior probaility for one population is equal to one divided by the number of populations. The genetic prior probability is given by the number of samples of that population divided by the total number of samples of all populations. Default (prior_key = 'uniform').


jonataseduardo/unphased documentation built on May 21, 2019, 2:26 a.m.