rel_ritland: This estimates the relatedness statistic from Ritland (1996)

View source: R/rel_ritland.R

rel_ritlandR Documentation

This estimates the relatedness statistic from Ritland (1996)

Description

This function takes a locus vector or a data.frame of locus objects and produces a pairwise distance matrix of relatedness values after Ritland (1996).

Usage

rel_ritland(x)

Arguments

x

A data.frame or vector that has locus objects in it. If you pass it a data.frame it will return the multilocus relatedness.

Value

A matrix of relatedness statistics.

Author(s)

Rodney J. dyer <rjdyer@vcu.edu>


dyerlab/gstudio documentation built on Feb. 2, 2024, 8:24 p.m.