% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/accessors.R
\name{get_sample_data}
\alias{get_sample_data}
\title{Extract Sample Data}
\usage{
get_sample_data(obj)
}
\arguments{
\item{obj}{A \code{phyloseq} or \code{TreeSummarizedExperiment} object.}
}
\value{
A data frame with sample metadata.
}
\description{
Retrieves the sample metadata.
}
\details{
Thin wrapper over \code{colData()} or \code{sample_data()} for unified metadata access across formats.
}
\seealso{
\code{\link[phyloseq]{sample_data}}, \code{\link[SummarizedExperiment]{colData}}, \code{\link[microbiome]{meta}}
}
