Hi,
Has anyone used lwaldron/metaphlanToPhyloseq.R (
I'm unsure of what the input files should be and there is no help information on GitHub. I'm wanting to use it to input my metaphlan3 merged abundance table into phyloseq.
Thanks in advance!
Hi,
Has anyone used lwaldron/metaphlanToPhyloseq.R (
I'm unsure of what the input files should be and there is no help information on GitHub. I'm wanting to use it to input my metaphlan3 merged abundance table into phyloseq.
Thanks in advance!
You need the output of metaphlan folder and one metadata file with the same samples ids. input
is the metaphlan2 output folder and meta_input
is the metadata file.
metaphlanToPhyloseq(input, meta_input, simplenames = TRUE,
roundtointeger = FALSE)
Hi I am not able to use this function, kindly tell me how to use it and what are files that I need and where should I place them? What changes I should make to make it work? Please make a tutorial for it with a proper explanation. I do not understand why HuttenHower lab has not made a tutorial for importing the metaphlan3 output to phyloseq when mostly everyone who gets the results want to analyze with phyloseq package? How should the Metadata.txt file look like?
Thanks Saraswati Awasthi
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Thank you for getting back to me. I've tried this and get this error:
This is the metaphlan csv :
I think my comment was of a previous version, I corrected the answer. In this function you will need more functions from
curatedMetagenomicData
regarding the tree.Ok, so I should run through the ‘curatedMetagenomicData’ pipeline with my data?
Just load before
curatedMetagenomicData
withlibrary(curatedMetagenomicData)
before run the functionmetaphlanToPhyloseq()
with your folder and metadata files.Thank you so much for your help!
I'm still getting an error.
I have a directory called metaphlan_profiling and it contains 22 .txt outputs from metaphlan
I read in the metadata information (I'm not sure if this should be a data frame)
I think run the function
I get this error :