Learn R Programming

ggpedigree (version 1.1.0.3)

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, dadID, and sex columns.

connections_for_FOO

A data frame containing the connections for the spouse segments from parent connections

use_hash

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