prepare_for_dfs: Prepare input for the DFS relative-finding algorithm

View source: R/prepare_for_dfs.R

prepare_for_dfsR Documentation

Prepare input for the DFS relative-finding algorithm

Description

Uses the pedigree to convert individual IDs into indexes and compile information to make the data structures for the DFS algorithm to find relatives.

Usage

prepare_for_dfs(ped, samp_vec)

Arguments

ped

the pedigree. A tibble with columns kid, pa, and ma

samp_vec

A character vector with the names of the individuals that were sampled


eriqande/CKMRpop documentation built on Jan. 25, 2024, 2:10 p.m.