profile_admixture {genogeographer} | R Documentation |
Compute the z-score (and more) for admixed hypotheses
Description
Compute the z-score (and more) for admixed hypotheses
Usage
profile_admixture(x0, df, hyp = NULL, grouping = "meta",
return_all = FALSE, calc_logP = TRUE, ...)
Arguments
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 |
Value
A tibble of z-scores, or a list of pairwise results if 'return_all = TRUE'
[Package genogeographer version 0.1.19 Index]