Skip to contents

Return an interpolated scSidekick color palette function

Usage

Nour_pal(palette = "main", reverse = FALSE, ...)

Arguments

palette

Name of palette in Nour_palettes. Default "main".

reverse

Logical. Reverse the palette direction. Default FALSE.

...

Additional arguments passed to grDevices::colorRampPalette().

Value

A palette function that takes an integer n and returns n colors.