ggbrain: Brain geom

Description Usage Arguments Value

Description

call to geom_sf

Usage

1
2
3
4
5
6
7
8
9
geom_brain(
  mapping = aes(),
  data = NULL,
  atlas = NULL,
  position = "identity",
  show.legend = NA,
  inherit.aes = TRUE,
  ...
)

Arguments

mapping

argument to pass to aes to map variables from the supplied data to the plot

data

data.frame with data to plot

atlas

object of type brain_atlas to plot

position

position of the data. Default is "identity" but can be changed by position_brain.

show.legend

logical. Should legend be added or not.

inherit.aes

logical. if aes should be inherited from the main ggplot call or not

...

arguments to geom_sf

Value

ggplot object#'


neuroconductor/ggseg documentation built on May 15, 2021, 11:21 p.m.