Helper function for plotting - returns zlim for image
plot function
zlimmer(x, zlim = NULL, computed_range = NULL)
If zlim = NULL
, then vector of length 2, otherwise returns zlim
Object of class nifti
A user-specified zlim
. If NULL
, will calculate how
ortho2
would calculate zlim
If the range of the data was already computed, this can be passed in and will be used if relevant.