colorize: Assign Colors

colorizeR Documentation

Assign Colors

Description

This utility function applies a user selected color palette to a ggplot image.

Usage

colorize(pal, var_type, n)

Arguments

pal

Palette name or constituents.

var_type

Character string specifying whether features are "Categorical" or "Continuous".

n

Number of unique groups for which colors must be assigned. Only relevant if var_type = "Categorical".


dswatson/bioplotr documentation built on March 3, 2023, 9:43 p.m.