genAssign: Generation assignment

Description Usage Arguments Details Value See Also

View source: R/genAssign.R

Description

Given a pedigree, the function assigns the generation number each individual belongs in.

Usage

1
genAssign(pedigree)

Arguments

pedigree

A pedigree with columns organized: ID, Dam, Sire

Details

Zero is the base population.

Adapted from kindepth function in kinship

Value

A vector of values is returned. This vector is in the same order as the ID column of the pedigree.

See Also

kinship


nadiv documentation built on May 21, 2017, 12:52 a.m.

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

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

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

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