Description Usage Arguments Details Value Author(s) References
View source: R/diveRsity-code.R
divMigrate
uses the method described in Sundqvist et al., 2013 to plot the relative migration levels between population samples, from microsatellite allele frequency data. The method is still in the experimental stages, and it is not clear how well it performs under most evolutionary scenarios. Caution should be exercised.
1 | divMigrate(infile = NULL, stat = "d_jost")
|
infile |
Should either be a character string of the input file name or pathway to the input file. This file should be in either the Arlequin genotype file format (.arp), or in the genepop file format. |
stat |
A character vector of the value |
The function will except both Arlequin (.arp) genotype and genepop (.gen/.txt) files, containing co-dominant diploid data. Using the method outlined in Sundqvist et al., 2013, the relative migration levels between all pairs of populations is determined. A weighted network plot is returned, as well as four matrices containing the objects described below.
D_mig |
A pairwise matrix containing the normalized relative migration values for all population pairs, as determined by $D_Jost$ values |
Gst_mig |
A pairwise matrix containing the normalized relative migration values for all population pairs, as determined by $G_ST$ values |
Kevin Keenan <kkeenan02@qub.ac.uk>
Lisa Sundqvist, M.Z. & Kleinhans, D., 2013. Directional genetic differentiation and asymmetric migration. arXiv pre-print: arXiv:1304.0118v2
Rousset, F., “genepop'007: a complete re-implementation of the genepop software for Windows and Linux.,” Molecular ecology resources, vol. 8, no. 1, pp. 103-6, (2008).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.