# NOT RUN {
# Filter by sequence name, but preserve all taxa
filter_obs(unite_ex_data_3, grepl("Lachnum", seq_name))
# Filter by sequence name and only keep taxa with sequences that pass the filter
filter_obs(unite_ex_data_3, grepl("Lachnum", seq_name), unobserved = FALSE)
# }
Run the code above in your browser using DataCamp Workspace