Records the reference electrode used for the recording.
References
Oostenveld R, Fries P, Maris E, Schoffelen JM (2011). "FieldTrip: Open source software for advanced analysis of MEG, EEG, and invasive electrophysiological data." Computational Intelligence and Neuroscience, 2011, 156869.
See also
getReference for reading the reference,
channelInfo for full channel metadata,
applyMontage for applying standard montages
Examples
pe <- PhysioExperiment(
assays = list(raw = matrix(rnorm(400), nrow = 100, ncol = 4)),
samplingRate = 100
)
# Set reference electrode
pe <- setReference(pe, "average")
getReference(pe) # "average"
#> [1] "average"