% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pathway_gsea.R
\name{calculate_rank_metric}
\alias{calculate_rank_metric}
\title{Calculate rank metric for GSEA}
\usage{
calculate_rank_metric(abundance, metadata, group, method = "signal2noise")
}
\arguments{
\item{abundance}{A matrix of abundance data}

\item{metadata}{A data frame of metadata}

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

\item{method}{A character string specifying the ranking method}
}
\value{
A named vector of ranking statistics
}
\description{
Calculate rank metric for GSEA
}
\keyword{internal}
