get.pedigree3: Derive pedigree parents and grandparents

View source: R/get.pedigree.R

get.pedigree3R Documentation

Derive pedigree parents and grandparents

Description

Derive pedigree for selected individuals including parents/grandparents

Usage

get.pedigree3(
  population,
  database = NULL,
  gen = NULL,
  cohorts = NULL,
  founder.zero = TRUE,
  id = FALSE,
  raw = FALSE,
  include.error = FALSE
)

Arguments

population

Population list

database

Groups of individuals to consider for the export

gen

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

cohorts

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

founder.zero

Parents of founders are displayed as "0" (default: TRUE)

id

Set to TRUE to extract individual IDs

raw

Set to TRUE to not convert numbers into Sex etc.

include.error

Set to TRUE to include errors simulated in the pedigree

Value

Pedigree-file (parents + grandparents) for in gen/database/cohorts selected individuals

Examples

data(ex_pop)
get.pedigree3(ex_pop, gen=3)

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

Related to get.pedigree3 in MoBPS...