make_palette_ggseg: Create ggseg palette from ggseg3d-atlas

View source: R/create-ggseg-atlas.R

make_palette_ggsegR Documentation

Create ggseg palette from ggseg3d-atlas

Description

atlases in ggseg have palettes based on colours from the paper originally introducing the atlas. These colours are hard-coded into ggseg3d-atlases. This function extracts those and makes a object ready for incorporation to a ggseg-atlas repository

Usage

make_palette_ggseg(ggseg3d_atlas)

Arguments

ggseg3d_atlas

ggseg3d-atlas

Value

list with a colour palette

Examples

make_palette_ggseg(dk_3d)

LCBC-UiO/ggsegExtra documentation built on May 9, 2022, 1:07 a.m.