makefamid: Construct a family id from pedigree information

Description Usage Arguments Details Value Author(s) See Also

Description

Create a vector of length n, giving the family "tree" number of each subject. If the pedigree is totally connected, then everyone will end up in tree 1, otherwise the tree numbers represent the disconnected subfamilies. Singleton subjects give a zero for family number.

Usage

1
makefamid(id, father.id, mother.id)

Arguments

id

Identifier for each subject in the set of pedigrees

father.id

Identifier for the father. This will be 0 or "" for a founder.

mother.id

Identifer for the mother.

Details

This command is depricated. The kinship command now can be applied directly to pedigreeList objects.

Value

An integer vector giving family groupings

Author(s)

Terry Therneau

See Also

makekinship



Search within the kinship2 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.