yiluheihei / microbiomeMarker

R package for microbiome biomarker discovery
https://yiluheihei.github.io/microbiomeMarker
GNU General Public License v3.0
171 stars 40 forks source link

how to import file with metaphlan2 style #68

Open BaylorLyu opened 2 years ago

BaylorLyu commented 2 years ago

I am confuse for data import, can i import data in metaphlan2 style?

yiluheihei commented 2 years ago

Thanks for your interested in microbiomeMarker. metaphlan2 outputs were not supported. If necessary. a new function (e.g. import_metaphlan2()) may be created in microbiomeMarker.

BaylorLyu commented 2 years ago

https://gist.github.com/lwaldron/512d1925a8102e921f05c5b25de7ec94/revisions

This code may help you add this function. Thanks

fconstancias commented 1 year ago

You could also check here: https://github.com/fconstancias/DivComAnalyses/blob/59027d8f5300855edf9efcf777771b583c31b342/R/phyloseq_biobakery_functions.R