View source: R/brain_palettes.R
Needed to display the colours, and inspect the number of colours of each palette
1 | get_colours(name, n, unname, package)
|
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) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.