Construct a governed short-separation nuisance design
Source:R/nuisance-design.R
shortSeparationDesign.RdReturns short-channel signals, optionally aggregated by compatibility class, with requested physiology-band copies. No intercept, task, or drift regressor is added.
Arguments
- x
A governed OD or pair-collapsed haemoglobin
PhysioExperiment.- assay_name
Exact source assay.
- short
A compatible
nirs_short_channelsmap returned byidentifyShortChannels(), orNULLfor the strict 10-mm default.- aggregation
Exactly
"all"or"mean".- physiology_bands
Unique exact band names to append.
- band_ranges
Optional named list providing one explicit range per requested band.
- standardize
Whether to centre and sample-SD standardize every column.
Examples
od <- intensityToOD(PhysioNIRS:::.nirs_demo_object())
short <- identifyShortChannels(od, threshold_m = 0.015)
design <- shortSeparationDesign(od, short = short)
dim(design)
#> [1] 160 2