paternity: Paternity by Exclusion Test

Description Usage Arguments Value Examples

View source: R/paternity.R

Description

Performs paternity by exclusion based on a matrix three entries (trio: mom, individual, dad), returns the proportion of mismatch cases.

Usage

1

Arguments

x

matrix of values to test. The matrix should be 3 columns with the progeny being tested in the second column.

Value

A vector with proportion of cases that has a mismatch a.k.a. pedigree conflict.

Examples

1
2
3
4
5
data(potato.data)
trio1 = potato.data[,c("W6511.1R", "W15268.5R", "VillettaRose")]
trio2 = potato.data[,c("W6511.1R", "W15268.5R", "W9914.1R")]
paternity(trio1) #more likely to be this trio
paternity(trio2)

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