Returns the current reference electrode information.
Value
A character string describing the current reference (e.g., "average",
"Cz", "M1+M2"), or NULL if no reference has been set.
References
Nunez, P.L. & Srinivasan, R. (2006). "Electric Fields of the Brain." 2nd ed. Oxford University Press.
See also
rereference() for changing the reference,
isAverageReferenced() for checking average reference status.
Examples
pe <- PhysioExperiment(
assays = list(raw = matrix(rnorm(100), nrow = 10, ncol = 10)),
samplingRate = 100
)
pe <- setReference(pe, "Cz")
getCurrentReference(pe) # "Cz"
#> [1] "Cz"