BAr plot for taxonomic classification with qiime2R

Hi everyone,
I was trying to make a bar plot for taxonomic classification from my dataset using qiiime2R but it is not working. The code I have using here:
library("ggplot2")
library("qiime2R")
library("tidyverse")

metadata<-read_q2metadata("sample_metadata_genevstemp.txt")
SVs<-read_qza("feature-table.qza")$data
taxonomy<-read_qza("taxonomy.qza")$data %>% parse_taxonomy()

taxasums<-summarize_taxa(SVs, taxonomy)$Genus
taxasums

taxa_barplot(taxasums, metadata, "Temperature")
Rplot
feature-table.qza (140.3 KB)
sample_metadata_genevstemp.txt (2.8 KB)
taxonomy.qza (256.7 KB)
I attached the barplot here what I have been getting and also the other files I am using. Can anyone please help me with this?
Thank you in advance.

Hello Sohana,

Thanks for sharing your plot and data. Something is broken! :bar_chart: :thinking:

Did you build that 'SSURef_NR99' by running RESCRIPt yourself, or get it from the Date Resources page?

Did the results from evaluate_fit_classifier look like you expected?

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