% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pathway_gsea.R
\name{validate_group_sizes}
\alias{validate_group_sizes}
\title{Validate group sizes for statistical analysis}
\usage{
validate_group_sizes(group_vector, group_name)
}
\arguments{
\item{group_vector}{A factor vector with group assignments}

\item{group_name}{A character string with the group variable name for error messages}
}
\description{
This function checks group sizes and balance to ensure statistical reliability.
Follows Linus principle: fail fast with clear reasons, don't hide problems.
}
\keyword{internal}
