brain_pal: Generate palettes from the ggseg atlases

Description Usage Arguments

View source: R/brain_palettes.R

Description

brain_pal return HEX colours for the different ggseg atlases.

Usage

1
brain_pal(name = NULL, n = "all", direction = 1, unname = FALSE)

Arguments

name

String name of atlas

n

Number of colours to return (or "all" [default])

direction

Direction of HEX, -1 reverses order

unname

logical, if colours are to be unnamed before returning. Neccessary if applying palette to other data than the brain atlas it comes from.


neuroconductor-devel-releases/ggseg documentation built on May 28, 2020, 3:09 a.m.