add_gcd: Add gene content distance

View source: R/enhancers.R

add_gcdR Documentation

Add gene content distance

Description

This function adds a variable gcd (gene content distance) to the pair table. As the name suggests, these are distances between genomes based on shared gene content. Various types of distances can be computed; the function uses the vegan package for this.

Usage

add_gcd(tg, method, binary)

Arguments

tg

A tidygenomes object

method

See vegan::vegdist()

binary

See vegan::vegdist()

Value

A tidygenomes object


SWittouck/tidyorthogroups documentation built on Feb. 2, 2023, 12:45 a.m.