Construct a temporal profile of voxels within an ROI
t_profile(x, mask = NULL, baseline = NULL, freq = TRUE)
x | A hyperstack with imaging data |
---|---|
mask | An ROI mask e.g. from |
baseline | Optionally specifies which samples are the baseline (see details). |
freq | Logical specifying whether to use frequency information in
attributes of |
A matrix with the third and fourth dimensions of x
, optionally
When the baseline
frames are specified the result will be
normalised to have a mean value of 1.0 in this period.
When freq=TRUE
or is passed a numeric value, the return type will be
a time series ts
object. This can then be used in
plots or subjected to filtering etc.