allele_rich: Calculates allelic richness with rarefaction

Description Usage Arguments Examples

View source: R/allele_rich.R

Description

Calculates allelic richness with rarefaction

Usage

1
allele_rich(genotypes, nboot = 1000, nsamp = NULL, nloc = NULL)

Arguments

genotypes

microsatellite genotypes in two-column per locus format

nboot

number of bootstraps for rarefaction

nsamp

number of individuals to resample, usually is smaller than the smallest population to compare

nloc

number of loci to resample, usually is smaller than the number of loci of the population with the fewest loci

Examples

1
2
3
data(microsat_data)
out <- allele_rich(microsat_data, nboot = 5, nsamp = 5, nloc = 5)
out

mastoffel/sealABC documentation built on May 21, 2019, 12:43 p.m.