Learn R Programming

pbatR (version 2.1.1)

affectionPhe: Affection Phenotype Object

Description

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.

Usage

affectionPhe( ped, trait="affected", offset=0.0 )

Arguments

ped
An object of class ped.
trait
Name for the trait in the generated phenotype file.
offset
The offset to be used.

Details

Returns an object of class phe.

See Also

read.phe, read.ped