View source: R/data_conversion.R
a_freq_list | R Documentation |
List-izes the output of reference_allele_counts
into a usable format for allelic_list
a_freq_list(D, pop_level = "collection")
D |
the long-format dataframe of counts by collection, locus, and allele,
output by |
a_freq_list
returns a list named by loci, each element of which is a matrix
containing that locus's allele count data. Rows in the matrix mark alleles, and columns collections
# Generate a list of individual genotypes by allele from
# the alewife data's reference allele count tables
example(reference_allele_counts)
ale_ac <- a_freq_list(ale_rac)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.