scale_continous_brain: Axis and label scales from the ggseg atlases

View source: R/scale-brain.R

scale_continous_brainR Documentation

Axis and label scales from the ggseg atlases

Description

The 'brain' axis and label scales provides scales for the different atlases in the package. These add axis labels and tick labels corresponding to the different atlases.

Usage

scale_continous_brain(
  atlas = dk,
  position = "dispersed",
  aesthetics = c("y", "x")
)

scale_x_brain(...)

scale_y_brain(...)

scale_labs_brain(atlas = dk, position = "dispersed", aesthetics = "labs")

Arguments

atlas

data.frame containing the atlas

position

Character of either "dispersed" or "stacked".

aesthetics

String vector of which aesthetics to scale "x", "y", or "labs".

...

additional arguments to pass to adapt_scales

Value

a scaling function to alter continuous axes labels in ggplot2

Examples

## Not run: 
scale_x_brain()
scale_y_brain()
scale_labs_brain()

## End(Not run)


ggseg documentation built on June 13, 2022, 5:07 p.m.