slices_plot: Select active areas within a mask

Description Usage Arguments Author(s)

View source: R/slices_plot.R

Description

Select the part of the image within the mask.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
slices_plot(
  image_vec,
  mask_obj = mask,
  dims = dims_mask,
  img_templ = img_template,
  voxels,
  col_threshold = 0,
  legend_range = range(image_vec),
  slice_number = FALSE,
  ...
)

Arguments

image_vec

vectorised image values

mask_obj

original mask image

dims

image dimensions

img_templ

minimal deformation template (for TBM images)

voxels

voxels indices within the mask (it must have the same dimensions as image_vec)

col_threshold

midpoint in the divergent colour scale

legend_range

extremes of the divergent colour scale

slice_number

add a note about the slices number in the array

Author(s)

Marco Palma, M.Palma@warwick.ac.uk


marcopalma3/neurofundata documentation built on Dec. 12, 2019, 5:29 a.m.