gut_traits: Functional traits for the simulated gut MAGs

gut_traitsR Documentation

Functional traits for the simulated gut MAGs

Description

A trait table for the 24 MAGs in gut_counts, mixing continuous, categorical and binary traits. Convert it to a functional distance with traits2dist() for the functional-diversity paths.

Usage

gut_traits

Format

A data frame with 24 rows (MAGs) and 4 columns:

genome_size

Approximate genome size in Mbp (numeric).

gc_content

GC content as a proportion (numeric).

oxygen

Oxygen tolerance: aerobe, anaerobe or facultative (factor).

motility

Motility indicator, 0/1 (integer).

See Also

gut_counts, gut_tree, traits2dist()

Examples

d <- traits2dist(gut_traits)
hilldiv(gut_counts, q = c(0, 1), dist = d)

hilldiv3 documentation built on Oct. 6, 2026, 5:06 p.m.