% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tools.R
\name{group_from_metadata}
\alias{group_from_metadata}
\title{Get a character vector of samples' groups from the input metadata file}
\usage{
group_from_metadata(.by, .metadata, .sep = "; ")
}
\arguments{
\item{.by}{Character vector. Specify a column or columns in the input metadata to group by.}

\item{.metadata}{Metadata object.}

\item{.sep}{Character vector. Defines a separator between groups if more than one group passed in \code{.by}.}
}
\value{
Character vector with group names.
}
\description{
Get a character vector of samples' groups from the input metadata file
}
\examples{
immunarch:::group_from_metadata("Status", data.frame(Status = c("A", "A", "B", "B", "C")))
}
\concept{utility_private}
