Description Usage Arguments Value
View source: R/summarise_admixture.R
Function finds the genotype frequencies for a simulated data-list, and the most likely genotype for each SNP.
1 | summarise_admixture(data_list, pop_allele_file)
|
data_list |
Simulated data output from simulate_admixture. |
pop_allele_file |
Path to CSV file containing the population allele frequencies. |
A list containing:
frequencies
: A list of vectors, with one element for each SNP. The vectors have a single element for each possible genotype, and the value is the observed frequency of that genotype in the simulated data.
most_common
: a matrix of the most common genotype found in the sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.