pTwoSidedFromChiSq: P-values for test of neutrality

Description Usage Arguments Value

View source: R/OutFLANK.R

Description

Calculates P-values for test of neutrality for a list of loci, using input of an inferred degrees of freedom for the chi-square and mean Neutral FST

Usage

1

Arguments

DataList

A data frame with a row for each locus, that includes at least a column for $FSTNoCorr and $He.

Fstbar

Mean Fst (without sample size correction) as inferred from neutral loci or OutFLank

dfInferred

The inferred degrees of freedom of the chi-square distribution describing neutral Fst values.

Hmin

Minimum heterozygosity (H) to exclude low H alleles

Value

Returns a data frame with the original data, and two new columns appended:

#@export


whitlock/OutFLANK documentation built on Nov. 5, 2019, 12:09 p.m.