Perform a t-test on spectral data points.

t_test_spec(mrs_data, group)

Arguments

mrs_data

an mrs_data object with spectra in the dynamic dimension.

group

vector describing the group membership of each dynamic spectrum.

Value

a list of statistical results.