Description Usage Arguments Value Examples
Convert a DNAbin object into a genind object
1 | as.genind.DNAbin(x, pops)
|
x |
object of class DNAbin |
pops |
vector of population assignemnts for each sequence |
genind
1 2 3 4 | library(pegas)
data(woodmouse)
wm <- as.genind.DNAbin(woodmouse, rep(c("A", "B", "C"), each=5))
diff_stats(wm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.