Skip to contents

Fill colors for the 12-state ChromHMM model used by geom_epilogo_col(). States are matched by name with spaces, as made by epilogos_long(), and listed in the legend from promoters to heterochromatin.

Usage

scale_fill_chromhmm(
  palette = c("colorblind", "epilogos"),
  name = "ChromHMM\nStates",
  ...
)

Arguments

palette

"colorblind" (default) for a color-blind friendly palette, or "epilogos" for the standard epilogos state colors.

name

Legend title, default: "ChromHMM\nStates"

...

Other arguments passed to ggplot2::scale_fill_manual().

Value

ggplot2 scale