get_colours: Get colours from brain palettes

Description Usage Arguments

View source: R/brain_palettes.R

Description

Needed to display the colours, and inspect the number of colours of each palette

Usage

1
get_colours(name, n, unname, package)

Arguments

name

String name of atlas

n

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

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.