read_mrs_tqn: Read MRS data using the TARQUIN software package.

View source: R/mrs_data_io.R

read_mrs_tqnR Documentation

Read MRS data using the TARQUIN software package.

Description

Read MRS data using the TARQUIN software package.

Usage

read_mrs_tqn(fname, fname_ref = NA, format, id = NA, group = NA)

Arguments

fname

the filename containing the MRS data.

fname_ref

a second filename containing reference MRS data.

format

format of the MRS data. Can be one of the following: siemens, philips, ge, dcm, dpt, rda, lcm, varian, bruker, jmrui_txt.

id

optional ID string.

group

optional group string.

Value

MRS data object.

Examples

fname <- system.file("extdata","philips_spar_sdat_WS.SDAT",package="spant")
## Not run: 
mrs_data <- read_mrs_tqn(fname, format="philips")

## End(Not run)

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