Get the index map volume
Examples
if (FALSE) { # \dontrun{
# For LatentNeuroVec:
if (!is.null(fmristore:::create_minimal_LatentNeuroVec)) {
lnv <- NULL
tryCatch({
lnv <- fmristore:::create_minimal_LatentNeuroVec(space_dims = c(3L,3L,2L))
map_vol <- map(lnv)
print(map_vol)
# if (requireNamespace("neuroim2", quietly=TRUE)) print(is(map_vol, "IndexLookupVol"))
}, error = function(e) {
message("map example for LatentNeuroVec failed: ", e$message)
})
} else {
message("Skipping map example for LatentNeuroVec: helper not available.")
}
} # }