% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pathway_heatmap.R
\name{generate_nested_colors}
\alias{generate_nested_colors}
\title{Generate colors for nested grouping variables}
\usage{
generate_nested_colors(metadata, all_groups, colors = NULL)
}
\arguments{
\item{metadata}{A data frame containing metadata}

\item{all_groups}{A character vector of grouping variables}

\item{colors}{A character vector of colors or NULL}
}
\value{
A character vector of colors appropriate for the grouping structure
}
\description{
Generate colors for nested grouping variables
}
\keyword{internal}
