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")
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.