Learn R Programming

ggpedigree (version 0.8.0)

buildSpouseSegments: Build spouse segments

Description

Build spouse segments

Usage

buildSpouseSegments(ped, connections_for_FOO, use_hash = TRUE)

Value

A data frame with the spouse segments

Arguments

ped

A data frame containing the pedigree data. Needs personID, momID, and dadID columns

connections_for_FOO

A data frame containing the connections for the spouse segments

use_hash

Logical. If TRUE, use the parent_hash to build segments. If FALSE, use the spouseID.