Learn R Programming

spant (version 1.1.0)

mask_xy_mat: 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)

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

masked dataset.