powered by
Compile standard by-locus summaries.
summarizeLoci(g, by.strata = FALSE, ...)
a '>gtypes object.
logical. If TRUE, return a list of summary matrices for each stratum.
TRUE
arguments to be passed on to summary functions.
A matrix with rows for each locus and columns containing summaries of:
num.genotyped
The number of samples genotyped
prop.genotyped
The proportion of samples genotyped
num.alleles
The number of alleles in the locus
allelic.richness
The allelic richness of the locus
prop.unique.alleles
Proportion of alleles found in a single sample
expt.heterozygosity
Expected heterozygosity
obsvd.heterozygosity
Observed heterozygosity
# NOT RUN { data(msats.g) msats.g <- stratify(msats.g, "fine") summarizeLoci(msats.g) # }
Run the code above in your browser using DataLab