bioRxivMicrobiology
specificity: an R package for analysis of feature specificity to environmental and higher dimensional variables, applied to microbiome species data
J. L. Darcy, A. S. Amend, S. O. I. Swift, P. S. Sommers, C. A. Lozupone
Abstract
BackgroundUnderstanding the factors that influence microbes environmental distributions is important for deter-mining drivers of microbial community composition. These include environmental variables like temperature and pH, and higher-dimensional variables like geographic distance and host species phylogeny. In microbial ecology, "specificity" is often described in the context of symbiotic or host parasitic interactions, but specificity can be more broadly used to describe the extent to which a species occupies a narrower range of an environmental variable than expected by chance. Using a standardization we describe here, Raos (1982, 2010) Quadratic Entropy can be conveniently applied to calculate specificity of a feature, such as a species, to many different environmental variables. ResultsWe present our R package specificity for performing the above analyses, and apply it to four real-life microbial data sets to demonstrate its application. We found that many fungi within the leaves of native Hawaiian plants had strong specificity to rainfall and elevation, even though these variables showed minimal importance in a previous analysis of fungal beta-diversity. In Antarctic cryoconite holes, our tool revealed that many bacteria have specificity to co-occurring algal community composition. Similarly, in the human gut microbiome, many bacteria showed specificity to the composition of bile acids. Finally, our analysis of the Earth Microbiome Project data set showed that most bacteria show strong ontological specificity to sample type. Our software performed as expected on synthetic data as well. Conclusionsspecificity is well-suited to analysis of microbiome data, both in synthetic test cases, and across multiple environment types and experimental designs. The analysis and software we present here can reveal patterns in microbial taxa that may not be evident from a community-level perspective. These insights can also be visualized and interactively shared among researchers using specificitys companion package, specificity.shiny.
- assay: metagenomics
- research focus: clustering
- research focus: differential expression
- approach: statistical model
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
- MoB (Measurement of Biodiversity): a method to separate the scale-dependent effects of species abundance distribution, density, and aggregation on diversity change
D. J. McGlinn, X. Xiao, … B. McGill·bioRxiv·Aug 3, 2018
- Variation in thermal physiology can drive the temperature-dependence of microbial community richness
- COREMIC: a web-tool to search for a root-zone associated CORE MICrobiome
R. R. Rodrigues, N. Rodgers, … M. A. Williams·bioRxiv·Sep 17, 2017
- Uncovering the drivers of host-associated microbiota with joint species distribution modeling
Johannes R. Björk, Francis K.C. Hui, … Jose M. Montoya·bioRxiv·May 3, 2018
- Tax4Fun2: a R-based tool for the rapid prediction of habitat-specific functional profiles and functional redundancy based on 16S rRNA gene marker gene sequences
Franziska Wemheuer, Jessica Alison Taylor, … Bernd Wemheuer·Environmental MicrobiomePeer-reviewed·May 18, 2020
- LorMe: a streamlined and interoperable R framework for end-to-end microbiome analysis
Ningqi Wang, Yaozhong Zhang, … Zhong Wei·MicroBiome and One HealthPeer-reviewed·Jan 1, 2026