% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/accessors.R, R/summ_ASV_OTUID.R
\name{get_otu_table}
\alias{get_otu_table}
\title{Extract OTU Tax Metadata from Object}
\usage{
get_otu_table(obj)

get_otu_table(obj)
}
\arguments{
\item{obj}{A \code{phyloseq} or \code{TreeSummarizedExperiment} object.}
}
\value{
A matrix containing OTU count data.

A matrix containing OTU count data.
}
\description{
Retrieves the OTU table from a \code{phyloseq} or \code{TreeSummarizedExperiment} object.

Retrieves the OTU table from a \code{phyloseq} or \code{TreeSummarizedExperiment} object.
}
\details{
This is a thin wrapper that unifies access to \code{assay()} (for TreeSummarizedExperiment) and \code{otu_table()} (for phyloseq) into a single function for format-agnostic use.
}
\seealso{
\code{\link[phyloseq]{otu_table}}, \code{\link[SummarizedExperiment]{assay}}
}
