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/tidygenomes documentation built on June 1, 2024, 9:40 p.m.