Description Usage Arguments Value Author(s) Examples
Calculate proportion of alleles and number of loci shared between pairs of individuals or strata.
1 2 3 | propSharedLoci(g, type = c("strata", "ids"))
sharedAlleles(g, smry = c("num", "which"))
|
g |
a gtypes object. |
type |
a character vector determining type of pairwise comparsion. Can be "strata" for strata or "ids" for individuals. |
smry |
a character vector determining type of summary for
|
data.frame summary of pairwise shared loci.
Eric Archer eric.archer@noaa.gov
1 2 3 4 5 6 7 8 9 | data(msats.g)
msats.g <- stratify(msats.g, "fine")
sharedAlleles(msats.g)
## Not run:
propSharedLoci(msats.g)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.