relDxy: Calculates Relative genetic distance (dxy)

View source: R/RelDist.R

relDxyR Documentation

Calculates Relative genetic distance (dxy)

Description

Calculates Relative distance, an extension of ttd from Ward and Baxter 2018

Usage

relDxy(distMat, popList, ploidy, outgroup)

Arguments

distMat

hamming distance matrix calculated using the hidden function genoDist

popList

List of populations made from pops dataframe provided by users

ploidy

numeric number of chromosomes

outgroup

character the furthest outgroup

Value

A dataframe containing Relative distance


CMWbio/geaR documentation built on April 22, 2023, 6:23 a.m.