jbisanz / qiime2R

Import qiime2 artifacts to R
MIT License
156 stars 53 forks source link

summarize_taxa #49

Closed andrneves closed 1 year ago

andrneves commented 1 year ago

Hello,

I used summarize_taxa to give me the sum of the counts, but the function returned the wrong sum by placing the results in column P168. The data is attached.

Would you happen to have any suggestions to fix this issue?

The code used is:

taxonomy <- read_qza ("taxonomy.qza")$data %>% parse_taxonomy() SVs<-read_qza("table.qza")$data abundance <- summarize_taxa(SVs, taxonomy)$Genus view(abundance)

Thanks.

SVs.csv taxonomy.csv

jbisanz commented 1 year ago

Not a bug, answered in qiime2 forum: https://forum.qiime2.org/t/about-summarize-taxa-qiime2r/26755