Closed moriahy closed 1 year ago
I'm trying to create a phyloseq object from qiime2 artifacts, but when I run the code below, I get the error:
Error in validObject(.Object) : invalid class “sample_data” object: Sample Data must have non-zero dimensions.
physeq <- qza_to_phyloseq( features = "16S-2021-merged-dada2table.qza", taxonomy = "16S-taxonomy.qza", metadata = "bacterial_2021_metadata.csv")
I've tried to figure this out and it looks like other people have had this same issue before but I'm not having any luck.
In addition: This is what the taxonomy file looks like (as a .csv)
And this is what my dada2table looks like (as a .csv)
I'm trying to create a phyloseq object from qiime2 artifacts, but when I run the code below, I get the error:
Error in validObject(.Object) : invalid class “sample_data” object: Sample Data must have non-zero dimensions.
physeq <- qza_to_phyloseq( features = "16S-2021-merged-dada2table.qza", taxonomy = "16S-taxonomy.qza", metadata = "bacterial_2021_metadata.csv")
I've tried to figure this out and it looks like other people have had this same issue before but I'm not having any luck.
In addition: This is what the taxonomy file looks like (as a .csv)
And this is what my dada2table looks like (as a .csv)