Description Usage Arguments Value Author(s) References See Also Examples
This function extracts the paternity and maternity information from a colony
object that was created using get.colony.data
. The output is a
dataframe with 3 columns. (1) mums, (2) dads, (3) frequency. The output can
either be derived from pairwise-likelihood or the full-likelihood method (if
available).
1 | get.parentage(colony.object, pairwise = FALSE)
|
colony.object |
A list created by |
pairwise |
Should the parentage information be derived from the pairwise likelihood estimates (TRUE), of from the full likelihood methods (FALSE). See Wang et al. for details. |
A data frame with 3 columns. (1) mums, (2) dads, (3) frequency.
Owen R. Jones
Wang, J. (2004) Sibship reconstruction from genetic data with typing errors. Genetics 166: 1963-1979.
1 2 3 | data(testdata)
parents<-get.parentage(testdata)
head(parents)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.