traceAncestry: Trace sample ancestry

Description Usage Arguments Value Author(s)

Description

Trace the ancestry of individuals in a sample and find their most recent common ancestor

Usage

1
traceAncestry(history, sampl, maxgen = NULL)

Arguments

history

an ocject of class genealogy, as returned from WFsim or moranSim

sampl

a vector of integers indicating which individuals from the most recent generation are to be included in the sample

maxgen

the maximum number of generations back in time to investigate

Value

an object of class samplegenealogy

Author(s)

Suzie Brown


suziebrown/miniproject1 documentation built on May 26, 2019, 9:36 a.m.