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)
|
Loading required package: adegenet
Loading required package: ade4
/// adegenet 2.0.1 is loaded ////////////
> overview: '?adegenet'
> tutorials/doc/questions: 'adegenetWeb()'
> bug reports/feature requests: adegenetIssues()
Loading required package: ape
Attaching package: 'pegas'
The following object is masked from 'package:ape':
mst
The following object is masked from 'package:ade4':
amova
$per.locus
Hs Ht Gst Gprime_st D
L1 0.8888889 0.962963 0.07692308 1 1
$global
Hs Ht Gst_est Gprime_st D_het D_mean
0.88888889 0.96296296 0.07692308 1.00000000 1.00000000 1.00000000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.