{"id":14069033,"url":"https://github.com/grunwaldlab/metacoder","last_synced_at":"2025-12-16T15:01:56.124Z","repository":{"id":20604490,"uuid":"23885494","full_name":"grunwaldlab/metacoder","owner":"grunwaldlab","description":"Parsing, Manipulation, and Visualization of Metabarcoding/Taxonomic data ","archived":false,"fork":false,"pushed_at":"2025-02-11T17:39:43.000Z","size":112615,"stargazers_count":144,"open_issues_count":144,"forks_count":29,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-10-29T08:30:10.586Z","etag":null,"topics":["community-diversity","cran","hierarchical","metabarcoding","pcr","r","taxonomy","trees"],"latest_commit_sha":null,"homepage":"http://grunwaldlab.github.io/metacoder_documentation","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grunwaldlab.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-09-10T17:57:54.000Z","updated_at":"2025-10-06T09:15:44.000Z","dependencies_parsed_at":"2023-01-11T21:37:59.818Z","dependency_job_id":"52ac8a6e-7bc5-41ae-869d-a23d3095c1fc","html_url":"https://github.com/grunwaldlab/metacoder","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/grunwaldlab/metacoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunwaldlab%2Fmetacoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunwaldlab%2Fmetacoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunwaldlab%2Fmetacoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunwaldlab%2Fmetacoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grunwaldlab","download_url":"https://codeload.github.com/grunwaldlab/metacoder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grunwaldlab%2Fmetacoder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27766795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-16T02:00:10.477Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["community-diversity","cran","hierarchical","metabarcoding","pcr","r","taxonomy","trees"],"created_at":"2024-08-13T07:06:33.541Z","updated_at":"2025-12-16T15:01:56.096Z","avatar_url":"https://github.com/grunwaldlab.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\"\n)\n```\n\n\n[![Downloads from Rstudio mirror per month](http://cranlogs.r-pkg.org/badges/metacoder)](https://www.r-pkg.org:443/pkg/metacoder)\n[![Downloads from Rstudio mirror](http://cranlogs.r-pkg.org/badges/grand-total/metacoder)](https://www.r-pkg.org:443/pkg/metacoder)\n[![CRAN version](http://www.r-pkg.org/badges/version/metacoder)](https://cran.r-project.org/package=metacoder)\n\n![](man/figures/readme_figure.jpg)\n\n\nAn R package for metabarcoding research planning and analysis\n-------------------------------------------------------------\n\nMetacoder 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).\nIt provides a tree-based visualization called \"heat trees\" used to depict statistics for every taxon in a taxonomy using color and size.\nIt also provides various functions to do common tasks in microbiome bioinformatics on data in the `taxmap` format defined by the `taxa` package, such as:\n\n* Summing read counts/abundance per taxon\n* Converting counts to proportions and rarefaction of counts using `vegan`\n* Comparing the abundance (or other characteristics) of groups of samples (e.g., experimental treatments) per taxon\n* Combining data for groups of samples\n* Simulated PCR, via EMBOSS primersearch, for testing primer specificity and coverage of taxonomic groups\n* Converting common microbiome formats for data and reference databases into the objects defined by the `taxa` package.\n* Converting to and from the `phyloseq` format and the `taxa` format\n\n\n## Installation\n\nThis project is available on CRAN and can be installed like so:\n\n```{r eval = FALSE}\ninstall.packages(\"metacoder\")\n```\n\nYou can also install the development version for the newest features, bugs, and bug fixes:\n\n```{r eval = FALSE}\ninstall.packages(\"devtools\")\ndevtools::install_github(\"grunwaldlab/metacoder\")\n```\n\n\n## Documentation\n\nAll the documentation for `metacoder` can be found on our website here:\n\nhttps://grunwaldlab.github.io/metacoder_documentation/\n\n\n## Dependencies\n\nThe function that simulates PCR requires `primersearch` from the EMBOSS tool kit to be installed. \nThis is not an R package, so it is not automatically installed.\nType `?primersearch` after installing and loading metacoder for installation instructions.\n\n\n## Relationship with other packages\n\nMany of these operations can be done using other packages like `phyloseq`, which also provides tools for diversity analysis.\nThe 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.\nIn 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.\nI encourage you to try both to see which fits your needs and style best.\nYou can also combine the two in a single analysis by converting between the two data types when needed.\n\n\n## Citation\n\nIf you use metcoder in a publication, please cite our [article in PLOS Computational Biology](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1005404):\n\nFoster 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\n\n\n## Future development\n\nMetacoder is under active development and many new features are planned.\nSome improvements that are being explored include:\n\n* Barcoding gap analysis and associated plotting functions\n* A function to aid in retrieving appropriate sequence data from NCBI for *in silico* PCR from whole genome sequences\n* Graphing of different node shapes in heat trees, possibly including pie graphs or [PhyloPics](http://phylopic.org/).\n* Adding the ability to plot specific edge lengths in the heat trees so they can be used for phylogenetic trees.\n* Adding more data import and export functions to make parsing and writing common formats easier. \n\nTo see the details of what is being worked on, check out the [issues](https://github.com/grunwaldlab/metacoder/issues) tab of the Metacoder [Github site](https://github.com/grunwaldlab).\n\n\n## License\n\nThis work is subject to the [MIT License](https://github.com/grunwaldlab/metacoder/blob/master/LICENSE).\n\n\n## Acknowledgements\n\nMetacoder's major dependencies are `taxa`, `taxize`, `vegan`, `igraph`, `dplyr`, and `ggplot2`.\n\nThis package includes code from the R package [ggrepel](https://github.com/slowkow/ggrepel) to handle label overlap avoidance with permission from the author of [ggrepel](https://github.com/slowkow/ggrepel) [Kamil Slowikowski](https://github.com/slowkow).\nWe included the code instead of depending on `ggrepel` because we are using functions internal to `ggrepel` that might change in the future.\nWe thank Kamil Slowikowski for letting us use his code and would like to acknowledge his implementation of the label overlap avoidance used in metacoder.\n\n\n## Feedback and contributions\n\nWe would like to hear about users' thoughts on the package and any errors they run into.\nPlease report errors, questions or suggestions on the [issues](https://github.com/grunwaldlab/metacoder/issues) tab of the Metacoder [Github site](https://github.com/grunwaldlab).\nWe also welcome contributions via a Github [pull request](https://help.github.com/articles/using-pull-requests/).\nYou can also talk with us using our [Google groups](https://groups.google.com/forum/#!forum/metacoder-discussions) site. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrunwaldlab%2Fmetacoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrunwaldlab%2Fmetacoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrunwaldlab%2Fmetacoder/lists"}