Function to find the oldest individuals in a pedigree This function finds the oldest families in a pedigree. It is supposed to be used internally by the summarize_pedigree
function.
Source: R/summarizePedigree.R
findOldest.Rd
Function to find the oldest individuals in a pedigree
This function finds the oldest families in a pedigree. It is supposed to be used internally by the summarize_pedigree
function.
Usage
findOldest(
foo_summary_dt,
byr = "byr",
n_fooest = 5,
n_foo_total = nrow(foo_summary_dt)
)
Arguments
- foo_summary_dt
A data.table containing the summary statistics.
- byr
Character. Optional column name for birth year. Used to determine the oldest lineages.
- n_fooest
An integer specifying the number of individuals in the summary.
- n_foo_total
An integer specifying the total number of individuals in the summary.