Read MRS data using the TARQUIN software package.
read_mrs_tqn(fname, fname_ref = NA, format, id = NA, group = NA)
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. |
MRS data object.
fname <- system.file("extdata","philips_spar_sdat_WS.SDAT",package="spant")
if (FALSE) {
mrs_data <- read_mrs_tqn(fname, format="philips")
}