matchAxis: Match anatomical axis abbreviation to full axis object

View source: R/axis.R

matchAxisR Documentation

Match anatomical axis abbreviation to full axis object

Description

Match anatomical axis abbreviation to full axis object

Usage

matchAxis(firstAxis)

Arguments

firstAxis

Character string specifying the axis. Can be full name (e.g. "LEFT") or abbreviation (e.g. "L")

Value

A NamedAxis object corresponding to the specified axis

Examples

## Not run: 
matchAxis("L")  # Returns LEFT_RIGHT axis
matchAxis("ANTERIOR")  # Returns ANT_POST axis

## End(Not run)

bbuchsbaum/neuroim2 documentation built on Jan. 2, 2025, 3:38 p.m.