Creates a phenotype object from a pedigree object (see `ped' and `phe'), preserving affection status. Mostly used internally, or as a substitute offset fix for the GUI.
affectionPhe(ped, trait="affected", offset=0.0)
An object of class ped
.
Name for the trait in the generated phenotype file.
The offset to be used.
Returns an object of class phe
.
read.phe
,
read.ped