Description Usage Arguments Value
Compute the z-score (and more) for admixed hypotheses
1 2 |
x0 |
A data frame/tibble with two columns: 'locus' and 'x0' |
df |
A tibble of reference profiles (as for 'genogeo') |
hyp |
If NULL all levels of 'grouping' is crossed and looped over as pairwise hypotheses. If a single level of 'grouping', this value is crossed with the remaining levels. If vector of two levels this is the only tested hypothesis. |
grouping |
Should the calculations be for meta populations ("meta") or sample populations ("pop")? |
return_all |
Should z-score be returned (FALSE) or all locus results (TRUE)? |
calc_logP |
Should log P(Geno|Hyp) be calculated (TRUE) or not (FALSE)? |
... |
additional arguments passed on to other functions |
A tibble of z-scores, or a list of pairwise results if 'return_all = TRUE'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.