50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

delimtools (version 0.2.0)

gmyc_tbl: Turns GMYC Results Into a Tibble

Description

gmyc_tbl() processes output from gmyc into an object of class tbl_df.

Usage

gmyc_tbl(gmyc_res, delimname = "gmyc")

Value

An object of class tbl_df.

Arguments

gmyc_res

Output from gmyc.

delimname

Character. String to rename the delimitation method in the table. Default to 'gmyc'.

Author

Thomas Ezard, Tomochika Fujisawa, Tim Barraclough.

Details

splits package uses gmyc to optimize genetic clusters and spec.list to cluster samples into species partitions. gmyc_tbl() turns these results into a tibble which matches the output from bgmyc_tbl and locmin_tbl.

Examples

Run this code

# \donttest{
# run GMYC
gmyc_res <- splits::gmyc(ape::as.phylo(geophagus_beast))

# create a tibble
gmyc_df <- gmyc_tbl(gmyc_res)

# check
gmyc_df
# }

Run the code above in your browser using DataLab