Removes linear or polynomial trends from the signal.
Usage
detrendSignal(x, type = c("linear", "constant"), output_assay = "detrended")Value
A PhysioExperiment object with a new assay named output_assay
containing detrended data. For "constant" type, the channel mean is
subtracted. For "linear" type, a least-squares linear fit is removed.
See also
detrendSignals() for the alternative detrending implementation
with polynomial support, butterworthFilter() for highpass filtering
as an alternative to detrending.