Learn R Programming

nadiv (version 2.8)

findDFC: Finds the double first cousins in a pedigree

Description

Given a pedigree, all pairs of individuals that are double first cousins are returned.

Usage

findDFC(pedigree)

Arguments

pedigree
A pedigree with columns organized: ID, Dam, Sire

Value

  • PedPositionListgives the list of row numbers for all the pairs of indidivuals that are related as double first cousins
  • DFCgives the list of IDs, as characters, for all the pairs of individuals that are related as double first cousins
  • FamilyCntIf two individuals, i and j, are double first cousins, then i's siblings will also be double first cousins with j's siblings. Therefore, this is the total number of family pairs where offspring are related as double first cousins.