Skip to contents

Returns phyloseq from Recipe-class object

Usage

get_phy(rec)

# S4 method for class 'Recipe'
get_phy(rec)

Arguments

rec

A Recipe object

Value

Phyloseq class object

Examples

data(metaHIV_phy)

## Define recipe
rec <-
  recipe(metaHIV_phy, var_info = "RiskGroup2", tax_info = "Species")

## Extract phyloseq object
get_phy(rec)
#> phyloseq-class experiment-level object
#> otu_table()   OTU Table:         [ 451 taxa and 156 samples ]
#> sample_data() Sample Data:       [ 156 samples by 3 sample variables ]
#> tax_table()   Taxonomy Table:    [ 451 taxa by 7 taxonomic ranks ]