% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/heatmap-utils.R
\name{.resolve_show_modes}
\alias{.resolve_show_modes}
\title{Resolve display modes for row/column names and split titles}
\usage{
.resolve_show_modes(
  show,
  kind = c("names", "titles"),
  which = c("row", "column"),
  by = NULL,
  split_by = NULL,
  annotation = list(),
  annotation_type = list(),
  annotation_params = list(),
  annotation_name = list(),
  legend.position = "right"
)
}
\arguments{
\item{show}{The value of \code{show_row_names}/\code{show_column_names} or
\code{row_title}/\code{column_title}}

\item{kind}{Which arguments are being resolved: "names" or "titles"}

\item{which}{The direction ("row" or "column")}

\item{by}{The name-annotation column (\code{rows_by}/\code{columns_by})}

\item{split_by}{The split-annotation column (\code{rows_split_by}/\code{columns_split_by})}

\item{annotation, annotation_type, annotation_params}{The prepared annotation
components returned by \code{\link{.prep_annotations}}}

\item{legend.position}{The legend position}
}
\value{
A list with the possibly-updated annotation components plus the
resolved \code{show} flag, \code{title}, \code{explicit}, \code{by_eff},
and \code{enabled}
}
\description{
\code{show_row_names}/\code{show_column_names} (kind = "names") and
\code{row_title}/\code{column_title} (kind = "titles") accept a character vector
combining the modes "inplace", "legend", "simple", "anno" (alias
"annotation"), and "none".  Modes are lower-priority defaults: they only
fill annotation type/params the user has not configured (per-key or via
\code{.default}).
}
\keyword{internal}
