zlimmer: Find Image z-limits

View source: R/zlimmer.R

zlimmerR Documentation

Find Image z-limits

Description

Helper function for plotting - returns zlim for image plot function

Usage

zlimmer(x, zlim = NULL, computed_range = NULL)

Arguments

x

Object of class nifti

zlim

A user-specified zlim. If NULL, will calculate how ortho2 would calculate zlim

computed_range

If the range of the data was already computed, this can be passed in and will be used if relevant.

Value

If zlim = NULL, then vector of length 2, otherwise returns zlim


neurobase documentation built on Oct. 23, 2022, 5:05 p.m.