affectionPhe {pbatR} | R Documentation |
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 )
ped |
An object of class ped . |
trait |
Name for the trait in the generated phenotype file. |
offset |
The offset to be used. |
Returns an object of class phe
.