Calculate Garza-Williamson M ratio (bottleneck) statistic for microsatellite data. The function is based on mRatio() from the strataG package. However, instead of requiring the same repeat length for all alleles within a locus, it calculates the m-ratio by deviding the allele-range by the repeat lengths that is most common. Is is therefore an approximation but maximises the amount of information used for non-optimally scored microsatellite datasets.
1 | m_ratio(gtypes_geno, rpt_size = 8:2)
|
gtypes_geno |
microsatellite genotypes formatted as gtypes object with strataG |
rpt_size |
The size of potential repetitive units in a microsatellite. Default is from 8 to 2. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.