Turns a a list of 3D images into a 4D time series image

img_list_to_ts(imgs, copy_nifti = TRUE, warn = TRUE)

Arguments

imgs

object of class list, each with 3 dimensions,

copy_nifti

Should a nifti object be returned (TRUE) or a simply array (FALSE). Should only be used for slight speed up when array is adequate

warn

Should a warning be printed if object is not class nifti

Value

Object of class nifti

Note

If the object is not of class list, then the object is returned