set_mask_xy_mat: Set the masked voxels in a 2D MRSI dataset to given spectrum.

View source: R/mrs_data_proc.R

set_mask_xy_matR Documentation

Set the masked voxels in a 2D MRSI dataset to given spectrum.

Description

Set the masked voxels in a 2D MRSI dataset to given spectrum.

Usage

set_mask_xy_mat(mrs_data, mask, mask_mrs_data)

Arguments

mrs_data

MRSI data object.

mask

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

mask_mrs_data

the spectral data to be assigned to the masked voxels.

Value

updated dataset.


martin3141/spant documentation built on April 14, 2024, 4:15 a.m.