Checks if Recipe contains a rarefaction step
Examples
data(GlobalPatterns, package = "phyloseq")
rec <-
phyloseq::subset_samples(
GlobalPatterns, SampleType %in% c("Soil", "Skin")
) |>
recipe(var_info = "SampleType", tax_info = "Genus") |>
step_rarefaction()
contains_rarefaction(rec)
#> [1] TRUE