write_mrs: Write MRS data object to file.

View source: R/mrs_data_io.R

write_mrsR Documentation

Write MRS data object to file.

Description

Write MRS data object to file.

Usage

write_mrs(mrs_data, fname, format = NULL, force = FALSE)

Arguments

mrs_data

object to be written to file, or list of mrs_data objects.

fname

one or more filenames to output.

format

string describing the data format. Must be one of the following : "nifti", "dpt", "lcm_raw", "rds". If not specified, the format will be guessed from the filename extension.

force

set to TRUE to overwrite any existing files.


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