% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pathway_gsea.R
\name{build_design_matrix}
\alias{build_design_matrix}
\title{Build design matrix for limma analysis}
\usage{
build_design_matrix(metadata, group, covariates = NULL)
}
\arguments{
\item{metadata}{A data frame containing sample metadata}

\item{group}{A character string specifying the grouping variable column name}

\item{covariates}{A character vector of covariate column names (optional)}
}
\value{
A design matrix suitable for limma
}
\description{
Creates a design matrix incorporating the group variable and optional covariates.
}
\keyword{internal}
