% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stats_tests.R
\name{compute.effect.size}
\alias{compute.effect.size}
\title{Compute Effect Size (Cohen's d)}
\usage{
compute.effect.size(df)
}
\arguments{
\item{df}{A data frame containing at least two columns:
\describe{
\item{expression}{Numeric vector of gene expression values.}
\item{group}{Character or factor vector with exactly two group labels,
as produced by \code{build.analysis.df()}.}
}}
}
\value{
Numeric. Cohen's d value. Positive values indicate the first
group (alphabetically) has higher mean expression; negative values
indicate the second group is higher.
}
\description{
Calculates the standardized mean difference between two groups.
}
