popphen_conditional_mutual_information: Calculate phenotipic and population mutual information...

Description Usage Arguments

Description

popphen_conditional_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
2
popphen_conditional_mutual_information(freq_list, pheno_data,
  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.

pheno_data

data.table. Table with POP, mu, ssqr, NPHENO, columns where POP has the population names, mu has the phenotypes means, ssqr has the phenotypes standard deviations and NPHENO are the number of samples from where the phenotypes where measured

prior_key

string. Gives the which prior information should be used to calculate the mutual information (phenotipic, genetic or uniform). The uniform prior probaility for one population is equal to one divided by the number of The phenotipic/genetic prior probability is given by the number of phenotipic/genetic 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.