adapt_scales: Scale ggseg plot axes.

View source: R/ggseg-adapt_scales.R

adapt_scalesR Documentation

Scale ggseg plot axes.

Description

adapt_scales returns a list of coordinate breaks and labels for axes or axes label manipulation of the ggseg brain atlases.

Usage

adapt_scales(geobrain, position = "dispersed", aesthetics = "labs")

Arguments

geobrain

a data.frame containing atlas information.

position

String choosing how to view the data. Either "dispersed"[default] or "stacked".

aesthetics

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

Value

nested list with coordinates for labels


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