Description Usage Arguments Value Examples
Converts a matrix or data.frame of genotype data into the sufficient statistics required to fit a DirichletMultinomial hierarchical model.
1  UM.suff(X, popId)

X 
Genotype adata. Either a 
popId 
grouping variable for 
A list with elements:
A
: Vector of unique alleles names. The allele numbers in the following quantities correspond to the indices of A
.
G
: 4column matrix of unique genotype combinations. The presence of 0's indicates that less than four alleles were amplified indicating that a given genotype either has less than 4 distinct alleles or that some alleles are duplicated.
tab
: Observed data in a simplified numerical format. This is a contingency table with rows given by the unique elements of popId
and columns given by each row of G
.
1 2 3 4 5 6 7 8 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.