PLoS Computational BiologyBioinformaticsPeer-reviewed journal article
Metacoder: An R Package for Visualization and Manipulation of Community Taxonomic Diversity Data
Zachary FosteriD, Thomas J. SharptoniD, Niklaus J. GrünwaldiD
Abstract
Community-level data, the type generated by an increasing number of metabarcoding studies, is often graphed as stacked bar charts or pie graphs; these graph types do not convey the hierarchical structure of taxonomic classifications and are limited by the use of color for categories. We developed MetacodeR, an R package for easily parsing, manipulating, and plotting hierarchical data. To accomplish this, MetacodeR provides a function to parse most text-based formats that contain taxonomic classifications, taxon names, taxon IDs, or sequence IDs. This parsed data can then be subset, sampled, and ordered using a set of intuitive functions that take into account the hierarchical nature of the data. Finally, an extremely flexible plotting function allows for the quantitative representation of up to 4 arbitrary statistics simultaneously in a tree format by mapping statistics to color and size of tree nodes and edges. MetacodeR also allows exploration of barcode primer bias by integrating functions to run digital PCR. MetacodeR has been designed for data from metabarcoding research, but can easily be applied to any data that has a hierarchical component such as gene ontology, gene expression data, or geographic location data. Our package complements currently available tools for community analysis and is provided open source with extensive online user manuals.
- Citations
- 826
- FWCI
- 29.10
- Field percentile
- top 1%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- phylobar: an R package for multiresolution compositional barplots in omics studies
Megan Kuo, Kim‐Anh Lê Cao, … Kris Sankaran·BioinformaticsPeer-reviewed·Mar 24, 2026
- Metaviz: interactive statistical and visual analysis of metagenomic data
Justin Wagner, Florin Chelaru, … Héctor Corrada Bravo·Nucleic Acids ResearchPeer-reviewed·Feb 15, 2018
- TaxonTableTools - A comprehensive, platform-independent graphical user interface software to explore and visualise DNA metabarcoding data
Till‐Hendrik Macher, Arne J. Beermann, Florian Leese·Molecular Ecology ResourcesPeer-reviewed·Feb 16, 2021
- MetaTree: an interactive web platform for aligned hierarchical data visualization and multi-group comparison
Qing Wu, Ailing Zhang, … Daniel Figeys·BMC BioinformaticsPeer-reviewed·May 27, 2026
- JarrVis: Visualising Taxa-function relationships from meta-omic data
Dhwani Desai, A. Comeau, Morgan G. I. Langille·bioRxiv·Apr 13, 2025
- Easy and interactive taxonomic profiling with Metabuli App
SunJae Lee, Jaebeom Kim, … Martin Steinegger·BioinformaticsPeer-reviewed·Oct 1, 2025