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
2
3
4
5
6
7
brain_pal(
  name = NULL,
  n = "all",
  direction = 1,
  unname = FALSE,
  package = "ggseg"
)

Arguments

name

String name of atlas

n

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

direction

Direction of HEX, -1 reverses order Neccessary if applying palette to other data than the brain atlas it comes from.

unname

return unnamed vector (default = FALSE)

package

package to get brain_pals data from (ggseg or ggsegExtra)


neuroconductor/ggseg documentation built on May 15, 2021, 11:21 p.m.