atlas_sf
atlas_sf(atlas)Get atlas 2D geometry data.
Returns sf data joined with core region info and palette colors.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| atlas | BrainAtlas | Brain atlas object. | required |
Returns
| Name | Type | Description |
|---|---|---|
| gpd.GeoDataFrame | GeoDataFrame ready for plotting. |
Raises
| Name | Type | Description |
|---|---|---|
| ValueError | If atlas has no 2D geometry. |