GithubHelp home page GithubHelp logo

flomazel / seaweed-microbiome Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 253 KB

A set of scripts to study the biotic and abiotic factors shaping the microbiome composition of a diverse seaweed community

R 100.00%

seaweed-microbiome's Introduction

Microbial assemblages are structured by host taxonomy and host morphology in a diverse seaweed community

This page describes the statistical analysis performed in the manuscript entitled "Microbial assemblages are structured by host taxonomy and host morphology in a diverse seaweed community" by Lemay et al.

Summary

This page focuses on the analysis of the factor shaping microbiota composition in a diverse seaweed community. Composition dissimilarities are described with beta-diversity metrics and effect of enironmental or host factors are tested using a PerMANOVA approach using the vegan R package with the adonis2 function. When multiple factors are included, we used a type III sum of squares (param "by" set to "margin" in adonis2) in order to test the effect of each factor while controlling for the others. Here, we conduct the main analysis using the Bray-Curtis indice (on rarefied data) on raw OTUs but tested the sensity of our results to various microbial phylogenetic scale using the BDTT approach.

R Script are provided ("Scripts" folder) along with figures ("Outputs" folder)

Data will be provided upon acceptance of the manuscript

Overall flow of the analysis of microbiota composition

We first produce the OTU table by rarefaction (1000 reads, step #1), then compute beta-diversities (step #2) and then relate these beta-diversities to environmental and host factors (step #3-6). Step #3 test if seaweeds have a microbiome that is distinct from the environment (rock and water). They do, so we explore in more detail the seaweed microbiome. In step #4, we test if the seaweed microbiome is related to host species identities and if it is also related to the tidal zone (low, mid and high) for those species that occur in multiple zones. Both factor are significants, but host species is more important (for 16S data). To vizualize the data, we group samples by host species X tidal zone combinations and produce a dendrogram. To further test the effect of species characteristics (taxonomy and morphology), we group samples per species (mixing different heights) to test for host taxonomic effects ("phylosymbiosis", step #5) and host morphology effects (step #6).

Summary of the different steps

1. Rarefaction of the OTU tables

Corresponding R script is "Rarefaction_Step.R" (in the beta-diversity computation folder)

2. Beta-diversity computation

Corresponding R script is "Beta_diversity_Computations.R" (in the beta-diversity computation folder)

3. Effect of substrate on microbiota composition (rock vs. seawater vs. seaweed substrates)

Corresponding R script is "Substrate_Zone_effects.R". Because the sampling of the different substrate is higly imbalanced, and is is known that PerMANOVA could be sensible to this, we also performed PerMANOVA tests on a balanced sampling (results are similars to the full sampling). Corresponding plots and tables are in the "Output" folder

4. Effect of tidal height vs. host species identity

Corresponding R script is "Host_Species_vs_TidalHeight_effects.R". Corresponding plots and tables are in the "Output" folder.

5. Effect of host taxonomy

Corresponding R script is "Host_taxonomy_effects.R". Corresponding plots and tables are in the "Output" folder.

6. Effect of host morphology

Corresponding R script is "Host_taxonomy_effects.R" Corresponding plots and tables are in the "Output" folder.

seaweed-microbiome's People

Contributors

flomazel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.