mask_xy_mat {spant}R Documentation

Mask a 2D MRSI dataset in the x-y dimension.

Description

Mask a 2D MRSI dataset in the x-y dimension.

Usage

mask_xy_mat(mrs_data, mask, value = NA)

Arguments

mrs_data

MRS data object.

mask

matrix of boolean values specifying the voxels to mask, where a value of TRUE indicates the voxel should be removed.

value

the value to set masked data to (usually NA or 0).

Value

masked dataset.


[Package spant version 2.20.0 Index]