Skip to contents

Standard S4 methods for PhysioExperiment objects including show, subsetting, and combining. Show method for PhysioExperiment

Usage

# S4 method for class 'PhysioExperiment'
show(object)

Arguments

object

A PhysioExperiment object.

Value

Invisibly returns NULL. Called for its side effect of printing a human-readable summary to the console.

Details

Displays a summary of the PhysioExperiment object.

References

Huber, W., et al. (2015). "Orchestrating high-throughput genomic analysis with Bioconductor." Nature Methods, 12(2), 115-121. doi:10.1038/nmeth.3252

Morgan, M., et al. (2022). "S4Vectors: Foundation of vector-like and list-like containers in Bioconductor." R package.

See also

PhysioExperiment for the constructor, summary,PhysioExperiment-method for channel-level statistics, as.data.frame,PhysioExperiment-method for conversion to data.frame

Examples

pe <- PhysioExperiment(
  assays = list(raw = matrix(rnorm(400), nrow = 100, ncol = 4)),
  colData = S4Vectors::DataFrame(label = c("Fz", "Cz", "Pz", "Oz")),
  samplingRate = 100
)
pe  # Displays summary
#> class: PhysioExperiment
#> dim: 100 x 4 
#> assays(1): raw
#> samplingRate: 100 Hz
#> channels(4): Fz, Cz, Pz, Oz
#> colData names(1): label