This vignette demonstrates how to use the ggtaxplot
package to process and visualize taxonomic data.
You can install the package from GitLab using the following command:
## Downloading git repo https://gitlab.com/ccoclet/ggtaxplot.git
## '/usr/bin/git' clone --depth 1 --no-hardlinks https://gitlab.com/ccoclet/ggtaxplot.git /tmp/Rtmp3WXLbW/file1b461d033f87
##
## ── R CMD build ─────────────────────────────────────────────────────────────────
## * checking for file ‘/tmp/Rtmp3WXLbW/file1b461d033f87/DESCRIPTION’ ... OK
## * preparing ‘ggtaxplot’:
## * checking DESCRIPTION meta-information ... OK
## * checking for LF line-endings in source and make files and shell scripts
## * checking for empty or unneeded directories
## * building ‘ggtaxplot_0.0.1.tar.gz’
## Installing package into '/tmp/RtmpDzzR4W/Rinst1a9052312095'
## (as 'lib' is unspecified)
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")
)
## Warning: Use of `filtered_vOTUs_vBins_Host_Prediction_t_color_df[[1]]` is discouraged.
## ℹ Use `.data[[1]]` instead.
## Use of `filtered_vOTUs_vBins_Host_Prediction_t_color_df[[1]]` is discouraged.
## ℹ Use `.data[[1]]` instead.
## Warning: Use of `filtered_vOTUs_vBins_Host_Prediction_t_color_df[[1]]` is discouraged.
## ℹ Use `.data[[1]]` instead.
## Use of `filtered_vOTUs_vBins_Host_Prediction_t_color_df[[1]]` is discouraged.
## ℹ Use `.data[[1]]` instead.
This vignette provided an overview of how to use the
ggtaxplot
package. For more details, refer to the package
documentation.