test_degree {BREADR}R Documentation

test_degree

Description

Test if a degree of relatedness is consistent with an observed PMR

Usage

test_degree(in_tibble, row, degree, verbose = TRUE)

Arguments

in_tibble

a tibble that is the output of the callRelatedness() function.

row

either the row number or pair name for which the posterior distribution is to be plotted.

degree

the degree of relatedness to be tested.

verbose

a logical (boolean) for whether all test output should be printed to screen.

Value

the associated p-value for the test

Examples

test_degree(relatedness_example, 1, 1)

[Package BREADR version 1.0.1 Index]