scale_brain: Colour and fill scales from the ggseg atlases

Description Usage Arguments Palettes Examples

View source: R/scale-brain.R

Description

The 'brain' palette scales provides scales for the different atlases in the package. Colours are according to the colours used in the papers where the atlases where first introduced.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
scale_brain(
  name = "dk",
  na.value = "grey",
  ...,
  aesthetics = c("fill", "colour", "color")
)

scale_colour_brain(...)

scale_color_brain(...)

scale_fill_brain(...)

Arguments

name

String name of atlas

na.value

String name or hex for the colour of NA entries

...

additional arguments to pass to brain_pal

aesthetics

String vector of which aesthetics to scale c("colour", "color", "fill").

Palettes

The following palettes are available for use with these scales:

ggseg -

dk, aseg

ggsegExtra -

tracula, jhu, yeo7, yeo17, glasser, chenAr, chenTh,

Examples

1
2
3

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