Sib-pair Command: generations


ClassAnalysis and data manipulation command
Namegenerations
Arguments [<quantitative trait> [reverse]]

If the plevel < 1, then prints a table listing each pedigree, the number of members, number of generations, and whether component (unrelated) subpedigrees are present.

For higher levels, lists founders/marry-ins and sibships by generation number for all pedigrees,

If a quantitative trait is named, the generation number of each individual is written to the trait. If the reverse modifier is present, the generation number counts up from the bottom of the pedigree, rather than from the top.

Example:

include longqtex.in
generations 
set ple 1
generations 
set ple 0
set loc gen_num qua
generations gen_num
table gen_num lqt

See also:

show pedigreestabulate pedigrees


<< (write var)Up to index>> (loops)