Tidytacos
Tidytacos: An R package for analyses on taxonomic composition of microbial communities - Published in JOSS (2025)
Science Score: 93.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README and JOSS metadata -
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
Repository
Functions to manipulate and visualize microbial community data
Basic Info
- Host: GitHub
- Owner: LebeerLab
- License: gpl-3.0
- Language: R
- Default Branch: master
- Homepage: https://lebeerlab.github.io/tidytacos/
- Size: 22.7 MB
Statistics
- Stars: 13
- Watchers: 0
- Forks: 2
- Open Issues: 1
- Releases: 7
Topics
Metadata Files
README.md
tidytacos 
Overview
Tidytacos (tidy TAxonomic COmpositionS) is an R package for the exploration of microbial community data. Such community data consists of read counts generated by amplicon sequencing (e.g. a region of the 16S rRNA gene) or metagenome (shotgun) sequencing. Each read count represents a number of sequencing reads identified for some taxon (an ASV, OTU, species, or higher-level taxon) in a sample.
Tidytacos builds on the tidyverse created by Hadley Wickham: the data are stored in tidy tables where each row is an observation and each column a variable. In addition, the package supplies a set of "verbs": functions that take a tidytacos object as first argument and also return a tidytacos object. This makes it easy to construct "pipe chains" of code that represent series of operations performed on the tidytacos object.
Prerequisites
Tidytacos is an R package. You can find instructions to download and install R here.
Tidytacos relies on the tidyverse R package (or, more accurately, set of R packages). You can install the tidyverse by running the following R code:
R
install.packages("tidyverse")
Finally, RStudio is a nice IDE to work with R code (as well as code in other scripting languages). It has a lot more features than what the default R IDE allows: beyond creating and saving scripts, it also shows your figures, allows you to navigate files, allows you to inspect tables etc. You can download RStudio here.
Installation
Run the following R code to install the latest version of tidytacos:
R
install.packages("devtools")
devtools::install_github("LebeerLab/tidytacos")
Getting started
If your ASVs are counted and annotated using dada2, you can use the following function to convert the results to a tidytacos object: ```R seqtab <- readRDS(system.file("extdata", "dada2", "seqtab.rds", package = "tidytacos")) taxa <- readRDS(system.file("extdata", "dada2", "taxa.rds", package = "tidytacos"))
taco <- from_dada(seqtab, taxa)
``` Where seqtab and taxa refer to the R objects as calculated in the dada2 tutorial and available in the extdata of this package.
If you have data in the form of a phyloseq object you could convert it using:
R
phylo_obj <- readRDS(system.file("extdata","phyloseq.rds",package='tidytacos'))
taco <- from_phyloseq(phylo_obj)
You may wish to create a tidytacos object from your counts matrix, for example an OTU table where rownames are samples and colnames are taxa. After that is done, you can add your taxonomy table and sample data. The variable 'taxon' of the taxonomy table should align with the rownames of the OTU table. Furthermore it may include all taxonomic levels from 'kingdom' or 'domain' to 'species' and a 'sequence' variable (nucleotide sequence). The variable 'sample' of the sample data should align with the rownames of the OTU table. ```R seqtab <- readRDS(system.file("extdata", "dada2", "seqtab.rds", package = "tidytacos")) taxa <- readRDS(system.file("extdata", "dada2", "taxa.rds", package = "tidytacos")) taxon <- rownames(taxa) taxa <- cbind(taxon, as_tibble(taxa))
taco <- createtidytacos(seqtab, taxaarecolumns = TRUE) taco <- taco%>% addmetadata(taxa, table_type="taxa") ```
A tidytacos object is read and stored as three sparse tables (counts-, taxa- and samples.csv).
To read in existing data from a folder, for example one called ‘leaf’ in the ‘data-raw/tidytacos’ folder you would run:
R
my_path <- system.file("extdata", "tidytacos", "leaf", package = "tidytacos")
taco <- read_tidytacos(my_path)
To read your own tidytacos data replace the path with a local path.
Documentation
A documentation page (help page) is available for all functions in the browser or in R. You can view it in R by running e.g. ?filter_samples. Some useful tutorials can be found in the documentation Articles page and on the wiki.
Need support?
Post on GitHub issues if you have questions, requests, or if you run into an issue.
Feel like contributing?
Please read the GitHub Developer Guide. Fork the dev branch, make your changes and make a pull request. Your suggestions will be reviewed and if approved, will be implemented in the next release.
Citation
If you've found tidytacos useful in your own work, please cite the following manuscript:
Wittouck et al., (2025). Tidytacos: An R package for analyses on taxonomic composition of microbial communities. Journal of Open Source Software, 10(105), 6313, https://doi.org/10.21105/joss.06313
Owner
- Name: Lebeer Lab
- Login: LebeerLab
- Kind: organization
- Website: https://lebeerlab.com/
- Repositories: 1
- Profile: https://github.com/LebeerLab
JOSS Publication
Tidytacos: An R package for analyses on taxonomic composition of microbial communities
Authors
Tags
microbial ecology microbial communities community compositionGitHub Events
Total
- Create event: 9
- Release event: 2
- Issues event: 20
- Watch event: 8
- Delete event: 8
- Issue comment event: 11
- Push event: 102
- Pull request event: 21
- Fork event: 1
Last Year
- Create event: 9
- Release event: 2
- Issues event: 20
- Watch event: 8
- Delete event: 8
- Issue comment event: 11
- Push event: 102
- Pull request event: 21
- Fork event: 1
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| TheOaphidian | t****r@h****m | 363 |
| Stijn Wittouck | s****k@h****m | 70 |
| Stijn | w****n@h****m | 34 |
| wsmets | w****s@L****e | 16 |
| Wenke | w****s@u****e | 12 |
| swuyts | S****s | 8 |
| swittouck | s****k@u****e | 2 |
| TomEile | 5****e | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 33
- Total pull requests: 46
- Average time to close issues: about 1 month
- Average time to close pull requests: 4 days
- Total issue authors: 8
- Total pull request authors: 4
- Average comments per issue: 0.76
- Average comments per pull request: 0.0
- Merged pull requests: 45
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 10
- Pull requests: 19
- Average time to close issues: 3 days
- Average time to close pull requests: about 20 hours
- Issue authors: 7
- Pull request authors: 3
- Average comments per issue: 0.7
- Average comments per pull request: 0.0
- Merged pull requests: 18
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- david-barnett (12)
- kelly-sovacool (9)
- slambrechts (6)
- TheOafidian (4)
- wsmets (4)
- TlaskalV (1)
- SWittouck (1)
- Cecilia-Sensalari (1)
Pull Request Authors
- TheOafidian (61)
- wsmets (4)
- TomEile (2)
- SWittouck (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- JamesIves/github-pages-deploy-action v4.4.1 composite
- actions/checkout v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v3 composite
- actions/upload-artifact v3 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- R >= 3.6.0 depends
- dplyr * imports
- forcats * imports
- ggplot2 * imports
- magrittr * imports
- plotly * imports
- purrr * imports
- readr * imports
- rlang >= 0.4.11 imports
- stringr * imports
- tibble * imports
- tidyr * imports
- vegan * imports
- covr * suggests
- dada2 * suggests
- knitr * suggests
- phyloseq * suggests
- rmarkdown * suggests
- roxygen2 * suggests
- testthat >= 3.0.0 suggests
- vdiffr * suggests
