% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc.R
\name{to_tibble}
\alias{to_tibble}
\title{Wrapper to convert phyloseq slots to tibble}
\usage{
to_tibble(df, id_name = "otu_id")
}
\arguments{
\item{df}{output of \code{otu_table()}, \code{sample_data()} or \code{tax_table()} phyloseq
functions.}

\item{id_name}{Name of the new column generated from rownames}
}
\value{
tibble
}
\description{
Wrapper to convert phyloseq slots to tibble
}
\examples{
data(test_rec)
otu_table <- 
  get_phy(test_rec) |>
  phyloseq::otu_table()

dar:::to_tibble(otu_table)
}
\keyword{internal}
