Description Usage Arguments Value Note Author(s)
View source: R/frequency_matrix.R
This is a quick translation of locus data to a tabular stratum format.
1 | frequency_matrix(x, stratum = "Population", loci = NULL)
|
x |
A |
stratum |
The column name to use as the partitioning |
loci |
The name of the locus to use |
A matrix (rows are strata, columns are alleles) of allele frequencies
This function just reshapes the data.frame
from frequencies
.
Rodney J. Dyer rjdyer@vcu.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.