% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/export.R
\name{phyla_palette}
\alias{phyla_palette}
\title{Assign colours to phyla}
\usage{
phyla_palette(phyla)
}
\arguments{
\item{phyla}{Character vector of phylum names (duplicates are OK).}
}
\value{
A named character vector of hex colours, one per unique phylum
(sorted alphabetically).
}
\description{
Returns a named character vector mapping each unique phylum to a
colourblind-friendly hex colour. Colours are assigned in alphabetical
order of phylum names so the mapping is deterministic.
}
\examples{
phyla_palette(c("Bacillota", "Pseudomonadota", "Bacillota"))
}
