"tree"The GTDB release 232 bacterial (
bac120_r232.tree) and archaeal (ar53_r232.tree) trees, from https://data.gtdb.ecogenomic.org/releases/release232/232.0/, pruned to the 560 genomes (559 bacterial, 1 archaeal) detected in the example profiles of the sylph2lab package (18 SRA runs of BioProject PRJNA1556220, profiled against the GTDB r232 sylph database). They keep the format of the full files (RS_/GB_tip prefixes, quotedsupport:taxonnode labels), so they stand in for them in examples. The internal nodes left with one child by pruning are kept, so the files hold every GTDB clade name above the genomes;gtdb_tree_read()removes those nodes, keeping the names."detections"A CSV with one row per sample and detected genome, from
sylph2lab::sylph_aggregate()with the run table and GTDB taxonomy:sample_id,accession, the GTDB ranksdomaintospecies,taxonomic_abundance,host_subject_id,isolation_sourceandcollection_date."draws"A gzip-compressed CSV of simulated posterior draws: 100 draws (
.draw) of a taxon-level quantity (effect) for each of the 560 genomes (accession). The true values were simulated by Brownian motion on the tree, so related taxa have similar values, and mapped to a difference in probabilities, as for the increase in the probability that a taxon is lost between two conditions. They stand in for the output of a phylogenetic model; they are not results.
Usage
gtdb_example(which = c("tree", "detections", "draws"))Examples
gtdb_example("tree")
#> bacteria
#> "/home/runner/work/_temp/Library/gtdb3h/extdata/gtdb/bac120_r232_example.tree"
#> archaea
#> "/home/runner/work/_temp/Library/gtdb3h/extdata/gtdb/ar53_r232_example.tree"
gtdb_example("detections")
#> [1] "/home/runner/work/_temp/Library/gtdb3h/extdata/sylph_example_detections.csv"
head(read.csv(gtdb_example("draws")))
#> .draw accession effect
#> 1 1 GCF_037023725.1 0.0241
#> 2 2 GCF_037023725.1 -0.0185
#> 3 3 GCF_037023725.1 0.0844
#> 4 4 GCF_037023725.1 -0.0753
#> 5 5 GCF_037023725.1 -0.0106
#> 6 6 GCF_037023725.1 -0.0752