Skip to contents

Convert a microbiome_ordination result to a tibble for tidy analysis.

Usage

as_tibble_ordination(object)

Arguments

object

A microbiome_ordination object.

Value

A tibble.

Examples

data("global_patterns", package = "microbiomedataset")

x <- run_ordination(global_patterns, method = "PCoA")
y <- as_tibble_ordination(x)
class(y)
#> [1] "tbl_df"     "tbl"        "data.frame"