AncBetaOut: Ancestry Generator

View source: R/helpers.R

AncBetaOutR Documentation

Ancestry Generator

Description

Helper function to generate 2-way admixture under beta distribution.

Usage

AncBetaOut(mean, var, n)

Arguments

mean

mean of ancestry

n

number of individuals

sd

sd of ancestry

Value

A matrix of global ancestry percentages for n individuals

Examples

AncBetaOut(0.75, 0.01, 100)

menglin44/APRICOT documentation built on July 1, 2023, 4:01 p.m.