rotate_models: Rotate populations between left and right

rotate_modelsR Documentation

Rotate populations between left and right

Description

This functions creates a data frame with population combinations which can be used as the input for qpadm_multi

Usage

rotate_models(leftright, target, rightfix = NULL)

Arguments

leftright

Populations which will be distributed between left and right

target

Target population

rightfix

Populations which will be on the right side in all models

Value

A data frame with Chi-squared statistics and p-values for each population combination

Examples

## Not run: 
pops = dimnames(example_f2_blocks)[[1]]
rotate_models(leftright = pops[1:4],
             target = pops[5], rightfix = pops[6:7])

## End(Not run)

uqrmaie1/admixtools documentation built on April 25, 2024, 11:30 a.m.