Learn R Programming

dartR (version 0.80)

gi.hwe.pop: Filter function to facilitate analysing of dart data

Description

Filter function to facilitate analysing of dart data

Usage

gi.hwe.pop(gi, pvalue = 0.05, plot = TRUE)

Arguments

gi

a genind object (often created using the gl2gi function)

pvalue

the p-value for the HWE test.

plot

a switch if a barplot is wanted.

Value

tests HWE for every loci in every population (using the setupSNP function in package SNPassoc

Examples

Run this code
# NOT RUN {
HWEperpop(gi=geni, pvalue = 0.05, plot = TRUE)
# }

Run the code above in your browser using DataLab