zlimmer: Find Image z-limits

Description Usage Arguments Value

View source: R/zlimmer.R

Description

Helper function for plotting - returns zlim for image plot function

Usage

1
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


neuroconductor/neurobase documentation built on May 19, 2021, 5:24 a.m.