Removes Silva prefix from a Phyloseq taxonomyTable
remove_silva_prefix_from_taxtable.Rd
This function will remove the silva prefix from a Phyloseq taxonomy table. You still need to assign that
Examples
taxtable <- structure(c("k__Bacteria", " p__Proteobacteria",
"c__Deltaproteobacteria", " o__Oligoflexales", " f__0319-6G20",
"g__", " s__"), dim = c(1L, 7L),
dimnames = list("sp1", c("Kingdom",
"Phylum", "Class", "Order", "Family", "Genus", "Species")))
remove_silva_prefix_from_taxtable(taxtable)
#> Kingdom Phylum Class Order
#> sp1 "Bacteria" "Proteobacteria" "Deltaproteobacteria" "Oligoflexales"
#> Family Genus Species
#> sp1 "0319-6G20" "" ""