proportion: Test parentage of individual

Description Usage Arguments Value Examples

View source: R/proportion.R

Description

Given individual and a vectors of possible parents, function returns dataframe of proportion of pedigree conflict with each possible trio

Usage

1
proportion(parents, individual, data)

Arguments

parents

a vector with strings related to the name of the suspected parents

individual

a string value with the individual name you are testing

data

the dataframe from which the data is from

Value

A dataframe of different combinations of parents and individual with the proportion of pedigree conflicts in each trio

Examples

1
2
3
4
data(potato.data)
proportion(parents = c("W6511.1R","VillettaRose","W9914.1R"),
           individual = "W15268.1R",
           data = potato.data)

sbeazley/Paternity-Functions documentation built on Dec. 22, 2021, 10:18 p.m.