pOutlierFinderInOrder: q values for test of neutrality

Description Usage Arguments Value

View source: R/OutFLANK.R

Description

Calculates q-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, and returns the results in the same row order as the input

Usage

1
2
pOutlierFinderInOrder(DataList, Fstbar, dfInferred, qthreshold = 0.05,
  Hmin = 0.1)

Arguments

DataList

A data frame with a row for each locus, that includes at least a column for $FSTNoCorr. It also helps if there is a column with an identifier for the locus.

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.

qthreshold

The threshold False Discovery Rate for calling a locus an outlier ( default = 0.05)

Hmin

The threshold heterozygosity (H) below which loci will be removed

Value

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


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