Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023:2649:359-392.
doi: 10.1007/978-1-0716-3072-3_19.

Metagenomics Data Visualization Using R

Affiliations

Metagenomics Data Visualization Using R

Alex Coleman et al. Methods Mol Biol. 2023.

Abstract

Communicating key finds is a crucial part of the research process. Data visualization is the field of graphically representing data to help communicate key findings. Building on previous chapters around data manipulating using the R programming language this, chapter will explore how to use R to plot data and generate high-quality graphics. It will cover plotting using the base R plotting functionality and introduce the famous ggplot2 package [2] that is widely used for data visualization in R. After this general introduction to data visualization tools, the chapter will explore more specific data visualization techniques for metagenomics data and their use cases using these basic packages.

Keywords: Communication; Data visualization; Plotting; R programming language; Research outputs; Research visualization; ggplot2.

PubMed Disclaimer

References

    1. Wilkinson L (2005) Grammar of graphics. Springer, New York
    1. Wickham H (2010) ggplot2: elegant graphics for data analysis. J Stat Softw 35(1):1–3
    1. Kassambara A (2020) ggpubr: ‘ggplot2’ based publication ready plots. R package version 0.4.0. https://CRAN.R-project.org/package=ggpubr
    1. Wickham et al (2019) Welcome to the tidyverse. J Open Source Softw 4(43):1686. https://doi.org/10.21105/joss.01686 - DOI
    1. Jari O, Guillaume Blanchet F, Friendly M, Kindt R, Legendre P, McGlinn D, Minchin PR, O’Hara RB, Simpson GL, Peter S, Henry M, Stevens H, Szoecs E, Wagner H (2020) vegan: community ecology package. R package version 2.5-7. https://CRAN.R-project.org/package=vegan

LinkOut - more resources