ggseg_atlas: 'ggseg_atlas' class

View source: R/ggseg-atlas.R

ggseg_atlasR Documentation

'ggseg_atlas' class

Description

The 'ggseg_atlas' class is a subclass of ['data.frame'][data.frame()], created in order to have different default behaviour. It heavily relies on the "tibble" ['tbl_df'][tibble()]. [tidyverse](https://www.tidyverse.org/packages/), including [dplyr](http://dplyr.tidyverse.org/), [ggplot2](http://ggplot2.tidyverse.org/), [tidyr](http://tidyr.tidyverse.org/), and [readr](http://readr.tidyverse.org/).

Usage

ggseg_atlas(x)

Arguments

x

data.frame to be made a ggseg-atlas

Value

a tibble with polygon coordinates for plotting brain regions

Properties of 'ggseg_atlas'

Objects of class 'ggseg_atlas' have: * A 'class' attribute of 'c("ggseg_atlas", "tbl_df", "tbl", "data.frame")'. * A base type of '"list"', where each element of the list has the same [NROW()]. * A lot of this script and its functions are taken from the ['tibble'][tibble()]-package


LCBC-UiO/ggbrain documentation built on April 10, 2023, 6:09 p.m.