round_pedigree: Build Round-Robin Pedigree

Description Usage Arguments Value Author(s) Examples

View source: R/round_pedigree.R

Description

Build single round-robin pedigree based on number of parents and population size

Usage

1
2
3
4
5
6
7
8
round_pedigree(
  parents = NULL,
  popsize = NULL,
  subpopsize = NULL,
  padsize = 4,
  nextinteger = FALSE,
  selfs = 0
)

Arguments

parents

number of parents.

popsize

population size.

subpopsize

subpopulation size.

padsize

string length for the individual name number

nextinteger

if TRUE all the subpopulations will have same size, total population size will changed accordingly to the next possible integer, if FALSE sub populations will be unbalenced

selfs

number of selfed populations

Value

single round-robin pedigree.

Author(s)

Rodrigo R Amadeu, rramadeu@gmail.com

Examples

1
haps <- round_pedigree(parents=3,popsize=200)

rramadeu/diaQTLSimulations documentation built on Feb. 11, 2022, 1:34 a.m.