Losing 1 sample after transfer qza data to R using qza_to_phyloseq

I tried to import my qza data to R, however, one sample was lost. I don't know the reason. I have 80 samples, but I got 79 after I import to R using the following code:
physeqX<-qza_to_phyloseq(features="…/table.qza", tree=" .../rooted-tree.qza", taxonomy=".../taxonomy.qza", metadata="../sample-metadata.tsv")
I already changed the SampleID to sample-id in metadata, can anyone help me with it?
Thanks a lot!

Finally figured it out. I added a space after the sample in the metadata file. :smiling_face_with_tear:


This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.