Creates an object of class 'brain_atlas' that is compatible for plotting using the ggseg-package plot functions
brain_atlas(atlas, type, data, palette = NULL)
atlas short name, length one
atlas type, cortical or subcortical, length one
data.frame with atlas data
named character vector of colours
an object of class 'brain_atlas' containing information
on atlas name, type, data and palette. To be used in plotting
with geom_brain
.