All Projects → grunwaldlab → metacoder

grunwaldlab / metacoder

Licence: other
Parsing, Manipulation, and Visualization of Metabarcoding/Taxonomic data

Programming Languages

r
7636 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to metacoder

RDML
RDML data import for R
Stars: ✭ 20 (-83.33%)
Mutual labels:  cran, pcr
pr2database
Protist Ribosomal Reference database (PR2) - SSU rRNA gene database
Stars: ✭ 54 (-55%)
Mutual labels:  taxonomy, metabarcoding
Recommenderlab
recommenderlab - Lab for Developing and Testing Recommender Algorithms - R package
Stars: ✭ 174 (+45%)
Mutual labels:  cran
indigo
Indigo: SNV and InDel Discovery in Chromatogram traces obtained from Sanger sequencing of PCR products
Stars: ✭ 26 (-78.33%)
Mutual labels:  pcr
Margins
An R Port of Stata's 'margins' Command
Stars: ✭ 225 (+87.5%)
Mutual labels:  cran
Randomforestexplainer
A set of tools to understand what is happening inside a Random Forest
Stars: ✭ 175 (+45.83%)
Mutual labels:  cran
Reactr
React for R
Stars: ✭ 227 (+89.17%)
Mutual labels:  cran
Simmer
Discrete-Event Simulation for R
Stars: ✭ 170 (+41.67%)
Mutual labels:  cran
SpatialPosition
R package for computing spatial position models
Stars: ✭ 30 (-75%)
Mutual labels:  cran
Pacman
A package management tools for R
Stars: ✭ 220 (+83.33%)
Mutual labels:  cran
react-taxonomypicker
A Taxonomy Picker control built with TypeScript for React. Built for use in Office 365 / SharePoint
Stars: ✭ 23 (-80.83%)
Mutual labels:  taxonomy
Bookdownplus
The easiest way to use R package bookdown for writing varied types of books and documents
Stars: ✭ 198 (+65%)
Mutual labels:  cran
Icd
Fast ICD-10 and ICD-9 comorbidities, decoding and validation in R. NB use main instead of master for default branch.
Stars: ✭ 178 (+48.33%)
Mutual labels:  cran
Littler
A scripting and command-line front-end for GNU R
Stars: ✭ 238 (+98.33%)
Mutual labels:  cran
Checkmate
Fast and versatile argument checks
Stars: ✭ 174 (+45%)
Mutual labels:  cran
MALDIquant
Quantitative Analysis of Mass Spectrometry Data
Stars: ✭ 48 (-60%)
Mutual labels:  cran
Arsenal
An Arsenal of 'R' Functions for Large-Scale Statistical Summaries
Stars: ✭ 171 (+42.5%)
Mutual labels:  cran
Opendata
CRAN OpenData Task View
Stars: ✭ 188 (+56.67%)
Mutual labels:  cran
Tint
Tint is not Tufte
Stars: ✭ 226 (+88.33%)
Mutual labels:  cran
groundhog
Reproducible R Scripts Via Date Controlled Installing & Loading of CRAN & Git Packages
Stars: ✭ 58 (-51.67%)
Mutual labels:  cran

Build Status codecov.io Downloads from Rstudio mirror per month Downloads from Rstudio mirror CRAN version

An R package for metabarcoding research planning and analysis

Metacoder is an R package for reading, plotting, and manipulating large taxonomic data sets, like those generated from modern high-throughput sequencing, like 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, such as:

  • Summing read counts/abundance per taxon
  • Converting counts to proportions and rarefaction of counts using vegan
  • Comparing the abundance (or other characteristics) of groups of samples (e.g., experimental treatments) per taxon
  • Combining data for groups of samples
  • Simulated PCR, via EMBOSS primersearch, for testing primer specificity and coverage of taxonomic groups
  • Converting common microbiome formats for data and reference databases into the objects defined by the taxa package.
  • Converting to and from the phyloseq format and the taxa format

Installation

This project is available on CRAN and can be installed like so:

install.packages("metacoder")

You can also install the development version for the newest features, bugs, and bug fixes:

install.packages("devtools")
devtools::install_github("grunwaldlab/metacoder")

Documentation

All the documentation for metacoder can be found on our website here:

https://grunwaldlab.github.io/metacoder_documentation/

Dependencies

The function that simulates PCR requires primersearch from the EMBOSS tool kit to be installed. This is not an R package, so it is not automatically installed. Type ?primersearch after installing and loading metacoder for installation instructions.

Relationship with other packages

Many of these operations can be done using other packages like phyloseq, which also provides tools for diversity analysis. The main strength of metacoder is that its functions use the flexible data types defined by taxa, which has powerful parsing and subsetting abilities that take into account the hierarchical relationship between taxa and user-defined data. In general, metacoder and taxa are more of an abstracted tool kit, whereas phyloseq has more specialized functions for community diversity data, but they both can do similar things. I encourage you to try both to see which fits your needs and style best. You can also combine the two in a single analysis by converting between the two data types when needed.

Citation

If you use metcoder in a publication, please cite our article in PLOS Computational Biology:

Foster ZSL, Sharpton TJ, Grünwald NJ (2017) Metacoder: An R package for visualization and manipulation of community taxonomic diversity data. PLOS Computational Biology 13(2): e1005404. https://doi.org/10.1371/journal.pcbi.1005404

Future development

Metacoder is under active development and many new features are planned. Some improvements that are being explored include:

  • Barcoding gap analysis and associated plotting functions
  • A function to aid in retrieving appropriate sequence data from NCBI for in silico PCR from whole genome sequences
  • Graphing of different node shapes in heat trees, possibly including pie graphs or PhyloPics.
  • Adding the ability to plot specific edge lengths in the heat trees so they can be used for phylogenetic trees.
  • Adding more data import and export functions to make parsing and writing common formats easier.

To see the details of what is being worked on, check out the issues tab of the Metacoder Github site.

License

This work is subject to the MIT License.

Acknowledgements

Metacoder’s major dependencies are taxa, taxize, vegan, igraph, dplyr, and ggplot2.

This package includes code from the R package ggrepel to handle label overlap avoidance with permission from the author of ggrepel Kamil Slowikowski. We included the code instead of depending on ggrepel because we are using functions internal to ggrepel that might change in the future. We thank Kamil Slowikowski for letting us use his code and would like to acknowledge his implementation of the label overlap avoidance used in metacoder.

Feedback and contributions

We would like to hear about users’ thoughts on the package and any errors they run into. Please report errors, questions or suggestions on the issues tab of the Metacoder Github site. We also welcome contributions via a Github pull request. You can also talk with us using our Google groups site.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].