Grouped time-frequency map with resampled null testing
Source:R/grouped_phase_tfr.R
group_tfr_test.RdComputes an empirical null distribution for grouped narrowband amplitude maps and returns cell-wise statistics with optional cluster summaries.
Arguments
- x
numeric matrix with shape
subjects x bins, or a grouped-series object.- fs
sampling rate in Hz along the bin axis.
- freqs
numeric vector of center frequencies.
- bandwidth
optional half-bandwidth in Hz.
- null
null generator; one of
"shuffle_labels"or"circular_shift".- nrep
number of null draws.
- detrend, reflect, edge, filtorder, demean, tol
passed to
group_tfr.- p_adjust
p-value adjustment; one of
"none"or"fdr".- cluster
logical; if
TRUE, detect suprathreshold clusters in the z-map.- cluster_threshold
z-threshold used for cluster detection.
- seed
optional random seed.