Set channel names/labels
Usage
channelNames(x) <- valueReferences
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
channelNames for reading channel labels,
renameChannels for renaming specific channels,
channelInfo for full channel metadata
Examples
pe <- PhysioExperiment(
assays = list(raw = matrix(rnorm(400), nrow = 100, ncol = 4)),
samplingRate = 100
)
channelNames(pe) <- c("Fz", "Cz", "Pz", "Oz")
channelNames(pe)
#> [1] "Fz" "Cz" "Pz" "Oz"