Description Usage Arguments Value See Also
Create a consistent palette for ROIs for plotting
1 2 3 4 5 | roisPalette(
rois = getRoiTree(),
favoriteRegion = "CX",
my_palette = paletteer::paletteer_d("Polychrome::palette36")
)
|
rois |
A ROI hierarchy as returned by |
favoriteRegion |
A brain region (defined at level 1) for which one wants colors defined down to level 2 |
my_palette |
A discrete color palette to use |
A named vector of colors (for example to be used in ggplot2's scale_color_manual
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.