phyloseq is a set of classes, wrappers, and tools (in R) to make it easier to import, store, and analyze phylogenetic sequencing data; and to reproducibly share that data and analysis with others. See the phyloseq front page:
You can use a basic find and replace function in R on your phyloseqobject@tax_table.
Adding the @ sign is how you call on your taxonomy table in phyloseq
1 e82d1fd257973270273e7afa6a946525 Fungi Ascomycota Leotiomycetes unidentified 2 6216312bc6d47f49897e454a2ab33c46 Fungi Rozellomycota unidentified unidentified 3 373a26a407912bac4da130de18cb1953 Fungi Chytridiomycota unidentified unidentified 4 ec561da51b50d2ff3e692cdca8f9e211 Fungi unidentified unidentified unidentified 5 7785baaf09a0bb304f825e78da9ddc18 Fungi Basidiomycota unidentified unidentified
How to replace unidentified with NA. Please help