nhanhocu / metamicrobiomeR

An R package for analysis of microbiome relative abundance data using zero inflated beta GAMLSS and meta-analysis across microbiome studies using random effects models
https://github.com/nhanhocu/metamicrobiomeR
33 stars 11 forks source link

Formatting from phyloseq object #8

Open marcell2 opened 4 years ago

marcell2 commented 4 years ago

Is there a way to format the data for metamicrobiomeR starting from a phyloseq object?

nhanhocu commented 4 years ago

Hi, Thanks for trying our package. It should be possible to format data from outputs of any other software for metamicrobiomeR. You may try to extract taxonomy relative abundances as a dataframe, add "k_" to taxonomy names, merge taxonomy and covariate data into one dataframe. Then you should be able to use the package. Please feel free let me know if you have further questions/issues. Bests, Nhan