Get step_ids from recipe
Examples
data(test_rec)
## We can extract the step identifiers from a Recipe with `step_ids`
ids <- steps_ids(test_rec)
ids
#> [1] "subset_taxa__Boyoz" "filter_taxa__Charlotte" "maaslin__ChaSan"
#> [4] "metagenomeseq__Zlebia" "deseq__Linzer_torte"
## With the `type` parameter, extract the prepro and da steps separately.
da_ids <- steps_ids(test_rec, type = "da")
da_ids
#> [1] "maaslin__ChaSan" "metagenomeseq__Zlebia" "deseq__Linzer_torte"
prepro_ids <- steps_ids(test_rec, type = "prepro")
prepro_ids
#> [1] "subset_taxa__Boyoz" "filter_taxa__Charlotte"