I am trying to plot heat trees using metacoder package. Being new to this package, I referred to your '2017_09_29--joany--parsing' post on this forum about how to import OTU tables in metacoder. This is what I did,
raw_dataSol = read.table("filtered_otu_table_mc.txt", header = TRUE, fill = TRUE)
dataSol = parse_tax_data(raw_dataSol, class_cols = c("Root", "Class", "Family", "Genus", "Species"))
dataSol$data$taxon_counts <- calc_taxon_abund(dataSol, "tax_data", cols = c("GTF.S1DELTA", "GTF.S2DELTA", "GTF.S3DELTA", "GTF.S4DELTA"))
dataBac <- filter_taxa(dataSol, "Bacteria" , subtaxa = TRUE, supertaxa = FALSE)
I am getting following error message with the last step
Error: The following taxon IDs do not exist:
NA
I don't understand why I am getting this error. Am I parsing file right?