Learn R Programming

BREADR (version 1.0.2)

test_degree: test_degree

Description

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

Usage

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

Value

the associated p-value for the test

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.

Examples

Run this code
test_degree(relatedness_example, 1, 1)

Run the code above in your browser using DataLab