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

View source: R/mrs_data_proc.R

mask_xy_matR 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.


spant documentation built on Sept. 11, 2024, 9:13 p.m.