read_mrs_tqn: Read MRS data using the TARQUIN software package.

Description Usage Arguments Value Examples

View source: R/mrs_data_io.R

Description

Read MRS data using the TARQUIN software package.

Usage

1
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

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

## End(Not run)

neuroconductor/spant documentation built on May 25, 2021, 1:49 a.m.