findFounder: This function finds the originating member for each line in a...

View source: R/summarizePedigree.R

findFounderR Documentation

This function finds the originating member for each line in a pedigree. It is supposed to be used internally by the summarize_pedigree function.

Description

This function finds the originating member for each line in a pedigree. It is supposed to be used internally by the summarize_pedigree function.

Usage

findFounder(data, group_var, sort_var)

Arguments

data

A data.table containing the pedigree data.

sort_var

A character string specifying the column name to sort by.

Value

A data.table containing the originating member for each line.


R-Computing-Lab/BGMisc documentation built on April 3, 2025, 3:12 p.m.