BeeCSI-Microbiome / R_analyses

1 stars 0 forks source link

Differential abundance #5

Open ropolomx opened 3 years ago

ropolomx commented 3 years ago

Let's tackle differential abundance as it will be one of the priorities for this work. I suggest starting to look at the R code starting from this line of one of my past projects, where the fitZIG function of the metagenomeSeq package was used. It is fitting as Zero-Infalted Gaussian model to find differential abundance. We worked with scaled data for this, and we had separated taxon data (e.g. what was classified as genus only) and clade data (e.g. what was classified as genus and species).

https://github.com/ropolomx/one_health_continuum/blob/e240e583f90319d8edbd870910860ab5e6083b5e/bcrc_comparative_analysis.R#L2194

ropolomx commented 3 years ago

Important considerations:

LLansing commented 3 years ago

Diversities at line 1207 "calc_diversity_df", from vegan R package