prepare_for_dfs {CKMRpop}R 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


[Package CKMRpop version 0.1.3 Index]