# \donttest{
lib.loc = tempdir()
if (download_img_data(lib.loc = lib.loc)){
t1 = oro.nifti::readNIfTI(system.file("T1Strip.nii.gz", package="WhiteStripe",
lib.loc = lib.loc))
t1.voi = make_img_voi(t1)
any(is.na(t1.voi))
# FALSE
t1.voi.hist = hist(t1.voi,
breaks=2000,
plot=FALSE)
}
# }
Run the code above in your browser using DataLab