Skip to content

paulbible/microbiome_plotting_in_R

Repository files navigation

Microbiome Plotting in R

Some notes on plotting microbiome data. This repository is intended to help other in making nice looking microbiome figures and perform some simple analysis.

Brief note on how data was simulated

These data were simulated from a mouse gut microbiome study. The distribution of abundance values for each species was modeled and then sampled randomly with noise added. The data were then clustered using k-means with k = 4. The data points were then adjusted to be 80% closer to their k-means centers. This adjustment made the ordination look better. This dataset should be "like" a real dataset but any results/conclusions are not meaningful.

The genus data were constructed in a similar manner and are not related to the species data.

Genus abundance bar graph

bar-ab

Dot abundance graph

dot-ab

Principle Coordinate Analysis

pcoa

Alpha diversity by sample

a-div-bargraph

Alpha diversity

a-div-boxplot

Random Forest Variable Importance

random-forest

About

Some notes on microbiome analysis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages