t_profile: Construct a temporal profile of voxels within an ROI

Description Usage Arguments Details Value See Also

View source: R/analysis.R

Description

Construct a temporal profile of voxels within an ROI

Usage

1
t_profile(x, mask = NULL, baseline = NULL, freq = TRUE)

Arguments

x

A hyperstack with imaging data

mask

An ROI mask e.g. from make_roi_from_mean

baseline

Optionally specifies which samples are the baseline (see details).

freq

Logical specifying whether to use frequency information in attributes of x (default TRUE) or numeric value specifying frequency directly. See details.

Details

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.

Value

A matrix with the third and fourth dimensions of x, optionally

See Also

make_roi_from_mean, ts, plot.ts


jefferis/scanimage documentation built on May 19, 2019, 3:58 a.m.