% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_3_Data_processing.R
\name{Ab_palette}
\alias{Ab_palette}
\title{Ab_palette: color ranges adapted to the BCR/TCR gene structure}
\usage{
Ab_palette(
  list_values,
  vect_genes_comb = NA,
  type_values = c("V", "D", "J", "VJ", "VDJ", "cuantitative", "cualitative"),
  colorblind = FALSE,
  seed = 1234
)
}
\arguments{
\item{list_values}{For V(D)J combinations, a list of lists of the families of
each segment and the genes within them. For V/D/J segments, a list of the
 families and the genes within them. For cuantitative or cualitative
 values, a list of values.}

\item{vect_genes_comb}{The vector of the V(D)J combinations present in the
dataset if type_values is 'VJ' or 'VDJ'. Otherwise, NA.}

\item{type_values}{One of 'V','D','J','VJ','VDJ', 'cuantitative' or
'cualitative'.  'V','D','J','VJ','VDJ',}

\item{colorblind}{If TRUE, the output is a colorblind-friendly vector of
colors from the viridis package. The similarity of the V-D-J colors is
lost.}
}
\value{
palette_colors: a (named) vector of colors
}
\description{
#' @description
   **Internal function.** Not intended for direct use. Exported only for
   `shinymeta` report rendering via `::` access. Use [run_app()] instead.
   Returns a vector of colors according to the input.
   For V/D/J/VJ/VDJ inputs, the colors are produced in a way that genes and
   combination of genes from the same family are assigned a similar color.
}
\examples{
\donttest{
  # Internal function exported for shinymeta :: access during report rendering.
  # Requires a live Shiny reactive context and real AIRR-seq data.
  # Use run_app() as the user-facing entry point.
}
}
\keyword{internal}
