Convert data values to percent signal.
pct_sig(X, center = median, by = c("column", "all"))X with its columns normalized to percent signal. (A value of
85 will represent a -15% signal change.)
a \(T\) by \(N\) numeric matrix. The columns will be normalized to percent signal.
A function that computes the center of a numeric vector.
Default: median. Other common options include mean and
mode.
Should the center be measured individually for each "column"
(default), or should the center be the same across "all" columns?