# NOT RUN {
# Filter by row index
filter_obs(ex_taxmap, "info", 1:2)
# Filter by TRUE/FALSE
filter_obs(ex_taxmap, "info", dangerous == FALSE)
# Remove taxa whose obserservation were filtered out
filter_obs(ex_taxmap, "info", dangerous == FALSE, drop_taxa = TRUE)
# }
Run the code above in your browser using DataCamp Workspace