I have a set of samples that have been sequenced using a non-target approach for which I have produced de-novo contigs and assigned taxonomic classification using DIAMOND blastx. I would like to analyse this dataset using metagenomeSeq, however I'm not sure how best to format the input files to create an MRexperiment object. Currently, some of my contigs are assigned to species, others genus, others family level. Would each contig correspond to an OTU in the examples provided in the tutorial?
When I do this, I get the following error:
> obj =newMRexperiment(as.data.frame(mat),phenoData=phenotypeData,featureData=OTUdata)
Error in validObject(.Object) :
invalid class “MRexperiment” object: featureNames differ between assayData and featureData
Hi,
I have a set of samples that have been sequenced using a non-target approach for which I have produced de-novo contigs and assigned taxonomic classification using DIAMOND blastx. I would like to analyse this dataset using metagenomeSeq, however I'm not sure how best to format the input files to create an MRexperiment object. Currently, some of my contigs are assigned to species, others genus, others family level. Would each contig correspond to an OTU in the examples provided in the tutorial? When I do this, I get the following error:
Thanks for your advice, Joseph