percent_poly: This function calculates the percent polymorphic loci per...

View source: R/percent_poly.R

percent_polyR Documentation

This function calculates the percent polymorphic loci per population from a genind object

Description

This function calculates the percent polymorphic loci per population from a genind object

Usage

percent_poly(genind)

Arguments

input.file

A genind object

Examples

 ## set directory for results to be written
 setwd("path/to/working/directory")

 ## load the example data
 data(rainbow.genind)

 # calculate the percent polymorphic loci per population
 res <- percent_poly(rainbow.genind)


pygmyperch/melfuR documentation built on Aug. 26, 2024, 12:48 a.m.