inbreeding.exp: Expected inbreeding

View source: R/inbreeding.exp.R

inbreeding.expR Documentation

Expected inbreeding

Description

Function to derive pedigree based inbreeding

Usage

inbreeding.exp(
  population,
  gen = NULL,
  database = NULL,
  cohorts = NULL,
  depth.pedigree = 7,
  start.kinship = NULL,
  elements = NULL,
  storage.save = 1.5,
  verbose = TRUE
)

Arguments

population

Population list

gen

Quick-insert for database (vector of all generations to export)

database

Groups of individuals to consider for the export

cohorts

Quick-insert for database (vector of names of cohorts to export)

depth.pedigree

Depth of the pedigree in generations

start.kinship

Relationship matrix of the individuals in the first considered generation

elements

Vector of individuals from the database to include in pedigree matrix

storage.save

Lower numbers will lead to less memory but slightly higher computing time (default: 1.5, min: 1)

verbose

Set to FALSE to not display any prints

Value

Pedigree-based inbreeding in gen/database/cohort selected individuals

Examples

data(ex_pop)
inbreeding <- inbreeding.exp(population=ex_pop, gen=5)

MoBPS documentation built on Nov. 5, 2025, 6:26 p.m.

Related to inbreeding.exp in MoBPS...