ggtaxplot

Introduction

This vignette demonstrates how to use the ggtaxplot package to process and visualize taxonomic data.

Installation

You can install the package from GitLab using the following command:

devtools::install_git("https://gitlab.com/ccoclet/ggtaxplot.git")

Example Usage

Load the Package

library(ggtaxplot)

Example Data

Here is an example dataset:

data <- data.frame(
    ID = c("ID1", "ID2", "ID3"),
    Taxonomy = c("d__Bacteria;p__Proteobacteria;c__Gammaproteobacteria;o__Enterobacterales;f__Enterobacteriaceae;g__Escherichia",
                 "d__Bacteria;p__Firmicutes;c__Bacilli;o__Bacillales;f__Bacillaceae;g__Bacillus",
                 "d__Bacteria;p__Actinobacteria;c__Actinobacteria;o__Corynebacteriales;f__Corynebacteriaceae;g__Corynebacterium")
)

Generate the Plot

plot <- ggtaxplot(data)
print(plot)

Conclusion

This vignette provided an overview of how to use the ggtaxplot package. For more details, refer to the package documentation.



Try the ggtaxplot package in your browser

Any scripts or data that you put into this service are public.

ggtaxplot documentation built on April 4, 2025, 4:39 a.m.