Learn R Programming

spant (version 3.3.0)

fit_amps: Extract the fit amplitudes from an object of class fit_result.

Description

Extract the fit amplitudes from an object of class fit_result.

Usage

fit_amps(
  x,
  inc_index = FALSE,
  sort_names = FALSE,
  append_common_1h_comb = TRUE
)

Value

a dataframe of amplitudes.

Arguments

x

fit_result object.

inc_index

include columns for the voxel index.

sort_names

sort the basis set names alphabetically.

append_common_1h_comb

append commonly used 1H metabolite combinations eg tNAA = NAA + NAAG.