self_pedigree: Build Self Pedigree

Description Usage Arguments Value Author(s) Examples

View source: R/self_pedigree.R

Description

Build selfs pedigree based on number of parents and population size

Usage

1
self_pedigree(parents = NULL, popsize = NULL, padsize = 4, nextinteger = FALSE)

Arguments

parents

number of parents.

popsize

population 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

Value

half-diallel pedigree.

Author(s)

Rodrigo R Amadeu, rramadeu@gmail.com

Examples

1
ped <- self_pedigree(parents=5,popsize=1000)

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