nh_preCheckR | R Documentation |
nh_preCheckR
detects cases where the NewHybrids MCMC chains fail to converge, and warns the user that the identified analyses should be repeated. When NewHybrids fails to converge, it is generally visible in cumulative probability plots (see nh_multiplotR) and identifiable in the PofZ file as an excess of F2 posterior probability. This function checks that the proportion of known Pure Population 1 or Pure Population 2 individuals assigned at least a
nh_preCheckR(PreDir, propCutOff = 0.5, PofZCutOff = 0.1)
PreDir |
the directory in which the NewHybrids results (in individual folders as returned by parallelNH_XX) are located. |
propCutOff |
The proportion of individuals in either Pure Population 1 OR Pure Population 2 allowed to exceed the F2 assignment threshold (PofZCutOff). The default is 0.5. |
PofZCutOff |
The threshold posterior probability of assignment (PofZ) to F2 above which Pure Population 1 or Pure Population 2 individuals are flagged to indicate possible non-convergence. The default is 0.1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.