knitr::opts_chunk$set( collapse = TRUE, comment = "#>", message = FALSE )
biplot_pq
, circle_pq
, upset_pq
, ggvenn_pq
) For an introduction to metabarcoding in R, Please visite the state of the field vignettes. The import, export and track vignette explains how import and export phyloseq
object. Its also show how to summarize useful information (number of sequences, samples and clusters) accross bioinformatic pipelines.
If you are interested in ecological metrics, see the vignettes describing alpha-diversity and beta-diversity analysis. The vignette filter taxa and samples describes some data-filtering processes using MiscMetabar and the reclustering tutorial introduces the different way of clustering already-clustered OTU/ASV. The vignette tengeler explore the dataset from Tengeler et al. (2020) using some MiscMetabar functions.
For developers, I also wrote a vignette describing som rules of codes.
library("MiscMetabar") library("phyloseq") library("magrittr") data("data_fungi") summary_plot_pq(data_fungi)
data("GlobalPatterns", package = "phyloseq") tax_datatable(subset_taxa( GlobalPatterns, rowSums(GlobalPatterns@otu_table) > 100000 ))
gp <- subset_taxa(GlobalPatterns, GlobalPatterns@tax_table[, 1] == "Archaea") sankey_pq(gp, taxa = c(1:5))
upset_pq(gp, "SampleType", taxa = "Class")
Tengeler, A.C., Dam, S.A., Wiesmann, M. et al. Gut microbiota from persons with attention-deficit/hyperactivity disorder affects the brain in mice. Microbiome 8, 44 (2020). https://doi.org/10.1186/s40168-020-00816-x
sessionInfo()
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.