ggseg_atlas-class: 'ggseg_atlas' class

Description Usage Arguments Properties of 'ggseg_atlas' See Also

Description

The 'ggseg_atlas' class is a subclass of ['data.frame'][base::data.frame()], created in order to have different default behaviour. It heavily relieas on the "tibble" ['tbl_df'][tibble::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

1
2
3
4
5
6
as_ggseg_atlas(
  x = data.frame(.long = double(), .lat = double(), .id = character(), .subid =
    character(), atlas = as.character(), region = as.character(), hemi = character(),
    side = character()),
  return = FALSE
)

Arguments

x

dataframe to be made a ggseg-atlas

return

return logical

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()]. * Alot of this script and its functions are taken from the ['tibble'][tibble::tibble()]-package

See Also

[tibble()], [as_tibble()], [tribble()], [print.tbl()], [glimpse()]


neuroconductor-releases/ggseg documentation built on Oct. 30, 2020, 11:08 p.m.