Learn R Programming

ggseg.formats (version 0.0.2)

atlas_palette: Get atlas palette

Description

Retrieves the colour palette from a brain atlas.

Usage

atlas_palette(name = "dk", ...)

Value

Named character vector of colours

Arguments

name

Character name of atlas (e.g., "dk", "aseg") or a ggseg_atlas object

...

Additional arguments (unused)

Examples

Run this code
atlas_palette(aseg())
atlas_palette(dk())

Run the code above in your browser using DataLab