lazadm | R Documentation |
Models target as a mixture of left populations, and outgroup right populations. Uses Lazaridis method based non-negative least squares of f4 matrix.
lazadm(data, left, right, target, boot = FALSE, constrained = TRUE)
data |
The input data in the form of:
|
left |
Left populations (sources) |
right |
Right populations (outgroups) |
target |
Target population |
boot |
If |
constrained |
Constrain admixture weights to be non-negative |
lazadm
returns a data frame with weights and standard errors for each left population
Patterson, N. et al. (2012) Ancient admixture in human history. Genetics
Haak, W. et al. (2015) Massive migration from the steppe was a source for Indo-European languages in Europe. Nature (SI 9)
qpadm
target = 'Denisova.DG'
left = c('Altai_Neanderthal.DG', 'Vindija.DG')
right = c('Chimp.REF', 'Mbuti.DG', 'Russia_Ust_Ishim.DG', 'Switzerland_Bichon.SG')
lazadm(example_f2_blocks, left, right, target)
lazadm(example_f2_blocks, left, right, target, constrained = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.