Tools for Parsing, Manipulating, and Graphing Taxonomic Abundance Data
Overview
Reads, plots, and manipulates large taxonomic data sets, like those generated from modern high-throughput sequencing, such as metabarcoding (i.e. amplification metagenomics, 16S metagenomics, etc). It provides a tree-based visualization called "heat trees" used to depict statistics for every taxon in a taxonomy using color and size. It also provides various functions to do common tasks in microbiome bioinformatics on data in the 'taxmap' format defined by the 'taxa' package. The 'metacoder' package is described in the publication by Foster et al. (2017) doi:10.1371/journal.pcbi.1005404.
- Maintenance release to fix CRAN check issues.
From NEWS.md in the release
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: metacoder/tests/testthat/test--taxmap_parsers.R (.Names: 1) '.Names' should be changed to 'names'.
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage: ‘all_names.Rd’ ‘arrange_obs.Rd’ ‘arrange_taxa.Rd’ ‘branches.Rd’ ‘classifications.Rd’ ‘filter_obs.Rd’ ‘filter_taxa.Rd’ ‘get_data.Rd’ ‘get_data_frame.Rd’ ‘get_dataset.Rd’ ‘id_classifications.Rd’ ‘internodes.Rd’ ‘is_branch.Rd’ ‘is_internode.Rd’ ‘is_leaf.Rd’ ‘is_root.Rd’ ‘is_stem.Rd’ ‘leaves.Rd’ ‘leaves_apply.Rd’ ‘map_data.Rd’ ‘map_data_.Rd’ ‘mutate_obs.Rd’ ‘n_leaves.Rd’ ‘n_leaves_1.Rd’ ‘n_obs.Rd’ ‘n_obs_1.Rd’ ‘n_subtaxa.Rd’ ‘n_subtaxa_1.Rd’ ‘n_supertaxa.Rd’ ‘n_supertaxa_1.Rd’ ‘obs.Rd’ ‘obs_apply.Rd’ ‘print_tree.Rd’ ‘remove_redundant_names.Rd’ ‘replace_taxon_ids.Rd’ ‘roots.Rd’ ‘sample_frac_obs.Rd’ ‘sample_frac_taxa.Rd’ ‘sample_n_obs.Rd’ ‘sample_n_taxa.Rd’ ‘select_obs.Rd’ ‘stems.Rd’ ‘subtaxa.Rd’ ‘subtaxa_apply.Rd’ ‘supertaxa.Rd’ ‘supertaxa_apply.Rd’ ‘taxon_ids.Rd’ ‘taxon_indexes.Rd’ ‘taxon_names.Rd’ ‘taxon_ranks.Rd’ ‘taxonomy_table.Rd’ ‘transmute_obs.Rd’ \arguments should not be documented without \usage.
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from: ‘R6’ All declared Imports should be used.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-06-18
- ERROR10 OK, 2 NOTE, 1 ERROR2026-06-02
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR10 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE6 OK, 1 NOTE2026-04-12
Documentation
- Help pages
- 238 (111 internal)
- Examples that run
- 86%83 run in a plain check · 13 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 76%
- Documented parameters
- 99%
- Return-value docs
- 72%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 3,109
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/grunwaldlab/metacoder on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2016-10-31
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-07-09Commits: at least 1 crediting it in the message
- Claude CodePull requests: 1 from outside contributors, first on 2026-07-09, 1 from forks
- Claude Opus 4.81 commit · Jul 2026
Dependencies
Installing metacoder adds 95 packages (53 with compiled code, 80 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- unarchivedReturned to CRAN2026-04-11
- 0.3.9Latest
- archivedRemoved from CRAN2025-10-18issues were not corrected despite reminders
- RR 4.5.0 released · 2025-04-11
- unarchivedReturned to CRAN2025-02-11
- 0.3.82025-02-11 · diff ↗
- archivedRemoved from CRAN2024-10-01issues were not corrected in time
- RR 4.4.0 released · 2024-04-24
- 0.3.72024-02-20 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.3.6
- RR 4.2.0 released · 2022-04-22
- 0.3.52021-06-23 · diff ↗ ·
added 71 exports
all_names, arrange_obs, arrange_taxa, branches, classifications, database_list, extract_tax_data, filter_obs, filter_taxa, get_data, get_data_frame, get_dataset, hierarchies, hierarchy, id_classifications, ids, internodes, is_branch, is_internode, is_leaf, is_root, is_stem, leaves, leaves_apply, lookup_tax_data, map_data, map_data_, mutate_obs, n_leaves, n_leaves_1 and 41 more - RR 4.1.0 released · 2021-05-18
- 0.3.4
Show 16 earlier eventsHide 16 earlier events
- RR 4.0.0 released · 2020-04-24
- 0.3.32019-07-18 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.3.22019-04-08 · diff ↗
- unarchivedReturned to CRAN2019-01-05
- 0.3.1
- orphanedOrphaned by its maintainer2018-11-19maintainer did not respond to request for correction
- 0.3.0.12018-11-19 · diff ↗
- 0.3.02018-08-28 · diff ↗ ·
added 5 exports
as_phyloseq, calc_prop_samples, counts_to_presence, parse_ubiome, primersearch_raw - 0.2.12018-05-02 · diff ↗ ·
added 4 exports
calc_group_mean, calc_group_median, calc_group_rsd, calc_group_stat - RR 3.5.0 released · 2018-04-23
- 0.2.02018-01-05 · diff ↗ ·
removed 39 exports
arrange_obs, arrange_taxa, drawDetails.resizingTextGrob, extract_taxonomy, filter_obs, filter_taxa, hierarchies, mutate_obs, mutate_taxa, n_obs, n_obs_1, n_subtaxa, n_subtaxa_1, n_supertaxa, obs, obs_data, obs_data_colnames, parse_hmp_qiime, parse_mothur_summary, parse_taxonomy_table, postDrawDetails.resizingTextGrob, preDrawDetails.resizingTextGrob, remove_redundant_names, resizingTextGrob, roots, sample_frac_obs, sample_frac_taxa, sample_n_obs, sample_n_taxa, select_obs and 9 moreadded 28 exports
calc_n_samples, calc_obs_props, calc_taxon_abund, compare_groups, complement, filter_ambiguous_taxa, heat_tree_matrix, is_ambiguous, ncbi_taxon_sample, parse_greengenes, parse_mothur_tax_summary, parse_mothur_taxonomy, parse_newick, parse_phylo, parse_phyloseq, parse_qiime_biom, parse_rdp, parse_silva_fasta, parse_unite_general, rarefy_obs, rev_comp, reverse, write_greengenes, write_mothur_taxonomy, write_rdp, write_silva_fasta, write_unite_general, zero_low_counts - 0.1.32017-05-23 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 0.1.22016-08-27
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-08-27
- Total releases
- 15 / 10 yrs
- License
- GPL-2 | GPL-3 OSI
- Minimum R
- ≥ 3.0.2
- Bundled data
- 209 KB / 4 files
- Download size
- 852 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("metacoder")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1371/journal.pcbi.1005404.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.