verbalise {verbalisr} | R Documentation |
Describe a pairwise relationship
Description
The description includes all pedigree paths between the two individuals, indicating with brackets the topmost common ancestors in each path.
Usage
verbalise(x, ids = leaves(x))
Arguments
x |
A |
ids |
A vector containing the names of two pedigree members. |
Value
An object of class pairrel
. This is essentially a list of lists,
where each inner list describes a single path.
Examples
# Example 1: Family quartet
x = nuclearPed(2)
verbalise(x, 1:2)
verbalise(x, 2:3)
verbalise(x, 3:4)
# Example 2: Complicated cousin pedigree
y = doubleCousins(degree1 = 1, removal1 = 1, half1 = TRUE,
degree2 = 2, removal2 = 0, half2 = FALSE)
verbalise(y)
# Example 3: Full sib mating
z = fullSibMating(1)
verbalise(z)
verbalise(z, ids = c(1,5))
# Example 4: Quad half first cousins
w = quadHalfFirstCousins()
verbalise(w)
[Package verbalisr version 0.5.2 Index]