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
This function finds the oldest families in a pedigree. It is supposed to be used internally by the summarize_pedigree
function.
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.
- noldest
Integer. Number of oldest lineages to return (sorted by birth year).
- n_foo
An integer specifying the number of individuals in the summary.