Description Usage Arguments Value
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
1 2 | pOutlierFinderInOrder(DataList, Fstbar, dfInferred, qthreshold = 0.05,
Hmin = 0.1)
|
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 |
Returns a data frame with the original data, and two new columns appended:
$qvalues the q-value for a locus
$OutlierFlag TRUE if q is less than the qthreshold; FALSE otherwise
$pvalues the p-value for a locus
$pvaluesRightTail the one-sided (right tail) p-value for a locus
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.