Description Usage Arguments Value
View source: R/disCharToProb.R
Converts discrete characters labels at each site to probabailites
1 | disCharToProb(x, charLevels)
|
x |
either a matrix or a data.frame of allele values with each column being a species and each row being a site |
levels |
a vector of all possible values of the discrete allele label |
a list of allele probabilities with one matrix per species
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.