make_palette_ggseg: Create ggseg palette from ggseg3d-atlas

Description Usage Arguments Value Examples

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

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 incporporation to a ggseg-atlas repository

Usage

1
make_palette_ggseg(ggseg3d_atlas)

Arguments

ggseg3d_atlas

object of class ggseg3d-atlas

Value

list

Examples

1
make_palette_ggseg(ggseg3d::dk_3d)

neuroconductor/ggsegExtra documentation built on Aug. 18, 2020, 4:45 p.m.