View source: R/brain_palettes.R
brain_pal
return HEX colours for the different ggseg atlases.
1 |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.