Export step parameters as json.
Examples
data(metaHIV_phy)
## Create a Recipe with steps
rec <-
recipe(metaHIV_phy, "RiskGroup2", "Species") |>
step_subset_taxa(tax_level = "Kingdom", taxa = c("Bacteria", "Archaea")) |>
step_filter_taxa(.f = "function(x) sum(x > 0) >= (0.3 * length(x))") |>
step_filter_by_prevalence(0.4) |>
step_maaslin()
## Prep Recipe
rec <- prep(rec, parallel = TRUE)
## Export to json file
export_steps(rec, tempfile(fileext = ".json"))