Subsetting or sorting phyloseq samplesFunctions for filtering or reording samples in a phyloseq object. These characteristically start with “ps_”, which is short for phyloseq. |
|
---|---|
Filter phyloseq samples by sample_data variables |
|
Arrange samples in phyloseq by sample_data variables or taxon abundance |
|
Arrange samples in a phyloseq by microbiome similarity |
|
Sort phyloseq samples by ordination axes scores |
|
Set order of samples in phyloseq object |
|
De-duplicate phyloseq samples |
|
Deselect phyloseq samples with sample_data missings |
|
Manipulating phyloseq sample_dataFunctions for modifying and augmenting the sample data within phyloseq objects. These also start with “ps_”, which is short for phyloseq. |
|
Select phyloseq sample_data using dplyr::select syntax |
|
Modify or compute new sample_data in phyloseq object |
|
Join a dataframe to phyloseq sample data |
|
Copy phyloseq otu_table data to sample_data |
|
Melt phyloseq data object into large data.frame (tibble) |
|
Manipulating taxaFunctions for modifying the taxonomic information contained within phyloseq objects. These characteristically start with “tax_”, which is short for taxa. |
|
Replace unknown, NA, or short tax_table values |
|
Shiny app to help you use tax_fix |
|
Add rank prefixes to phyloseq tax_table values |
|
Filter rare and/or low abundance taxa from a phyloseq object |
|
Aggregate taxa and track aggregation in psExtra |
|
Transform taxa in phyloseq object and record transformation |
|
Mean-center and SD-scale taxa in phyloseq |
|
Subset phyloseq object by (partial) taxa names |
|
Modify or compute new taxonomic ranks in phyloseq |
|
Make new phyloseq taxa names from classification and taxon abundance info |
|
Simple way to set unique taxa_names for phyloseq object |
|
Sort taxa in phyloseq otu_table and tax_table |
|
Order taxa in phyloseq by their loading vectors |
|
Reorder taxa in phyloseq object using vector of names |
|
Get names of "top" n taxa |
|
Add taxa_names as last column in phyloseq tax_table |
|
Ordination and related methodsFunctions for assessing and visualising overall microbiota composition and its associations with phyloseq sample data variables. dist_* functions calculate or use sample-sample distances/dissimilarities. ord_* functions calculate or use sample ordinations. |
|
Calculate distances between pairs of samples in phyloseq object |
|
Calculate PERMANOVA after dist_calc() |
|
Wrapper for vegan::betadisper() |
|
Ordinate samples (arrange by similarity in multiple dimensions) |
|
Customisable ggplot2 ordination plot |
|
Draw convex hull for a set of points on a ggplot |
|
Add paths connecting points on a ggplot scatterplot |
|
Create list for ord_plot() *_lab_style arguments |
|
Create ordination plot vector styling lists |
|
Circular compositional barplot sorted by ordination angle |
|
Interactively explore microbial compositions of ordinated samples |
|
Filled shapes for ggiraph interactive plots |
|
|
Extract elements from psExtra class |
Taxon models and tree visualisationsFunctions for modelling and visualising associations between individual microbes and phyloseq sample data variables. |
|
Statistical modelling for individual taxa in a phyloseq |
|
Statistical modelling for individual taxa across multiple ranks |
|
Extract statistics from taxatree_models or tax_model output |
|
Adjust p values in taxatree_stats dataframe |
|
Plot statistical model results for all taxa on a taxonomic tree |
|
Draw labelled key to accompany taxatree_plots |
|
Add logical label column to taxatree_stats dataframe |
|
Add labels to taxatree plots/key |
|
Create node and edge dataframes for taxatree_plots |
|
Simple wrapper around cor.test for y ~ x style formula input |
|
Heatmap plotting functionsFunctions for drawing and annotating heatmaps |
|
Draw heatmap of microbiome composition across samples |
|
Microbe-to-sample-data correlation heatmap |
|
Helper to specify a HeatmapAnnotation for taxa |
|
Helper to specify heatmap annotation for showing taxa abundance on boxplot |
|
Helper to specify heatmap annotation for showing taxa prevalence as barplot |
|
Helper to specify heatmap annotation for showing taxa abundance density plot |
|
Helper to specify a HeatmapAnnotation for samples in comp_heatmap |
|
Helper to specify simple comp_heatmap annotation for other sample data |
|
Helper to specify comp_heatmap annotation for categorical sample data |
|
Create colored rectangle annotations for categorical data |
|
Convenience function for generating a legend for anno_cat annotations. |
|
Helper to specify a HeatmapAnnotation for variables in cor_heatmap |
|
Helper to specify heatmap annotation for variable distribution boxplots |
|
Helper to specify heatmap annotation for variable distribution histograms |
|
Helper to specify heatmap annotation for variable distribution density plot |
|
Easy palettes for ComplexHeatmap |
|
Aesthetic settings for drawing numbers on heatmap tiles |
|
set options for drawing gridlines on heatmaps |
|
Simple heatmap helper to get a default adjacent side for another annotation |
|
Other functionsOther assorted functions |
|
Plot (grouped and ordered) compositional barplots |
|
Colour palettes suitable for 20+ categories |
|
Make a fixed taxa colour palette e.g. for comp_barplot |
|
tax_palette plotting helper function |
|
Calculate dominant taxon in each phyloseq sample |
|
Calculate diversity index and add to phyloseq sample data |
|
Calculate richness estimate and add to phyloseq sample data |
|
Check for (and fix) common problems with phyloseq objects |
|
Calculate prevalence from numeric vector |
|
Datasets |
|
Gut microbiota relative abundance data from Shao et al. 2019 |
|
IBD study data in phyloseq object. |
|
Other |
|
microViz: microbiome data analysis and visualization |
|
Print method for psExtraInfo object |
|
Define psExtra class S4 object |
|
Convert old format "ps_extra" objects to new "psExtra" objects |
|
Calculate distances between sequential samples in ps_extra/phyloseq object |
|
|
DEPRECATED Heatmap annotations helpers |