| Class | Analysis and data manipulation command |
| Name | cumulate |
| Arguments | <binary trait> <quantitative trait> |
Generate a cumulative index for probands in a pedigree, following the standard ordering of generations, from 1 to Nprobands. A second quantitative (or factor) trait must be provided, and the index will be written to that variable.
Example:
>> cumulate hichol idx
Generated index for 46 eligible individuals according to pedigree position.
>> print idx ^= x
! s C c h
! e H a i
! id fat mot x age D r adjChol ldl c idx
!
26 303 x x f 53 n n 92 2/2 y 1
26 305 x x f x x n 93 1/1 y 2
[...]
26 507 424 425 f x x n 136 1/1 y 45
26 508 426 425 m x x n 183 1/1 y 46
| << (count) | Up to index | >> (plot) |