Skip to contents

Get the unique taxa from the combined data.frame.

Usage

extract_unique_taxa(...)

Arguments

...

The dataframes to join.

Value

A character vector of the unique taxon from the combined data.frames.

Examples

asv <- system.file("extdata/tsv", "seqtab.tsv", package = "bubbler")
taxa <- system.file("extdata/tsv", "taxa.tsv", package = "bubbler")
rel_abund <- rel_abund_tsv(asv, taxa)
rel_abund_l <- rel_abund %>%
    subset_high_low(n = 10)
rel_abund_h <- rel_abund %>%
    subset_high_low(n = 50, flip = TRUE)
extract_unique_taxa(rel_abund_l, rel_abund_h)
#> [1] "Actinomycetota" "Bacillota"      "Pseudomonadota" "Bacteroidota"  
#> [5] "Synergistota"