Get and set layer data

# S3 method for class 'Assay5'
x[i = missing_arg(), j = missing_arg(), ...]

# S4 method for class 'Assay5,character,ANY,ANY'
x[i, j, ...] <- value

Arguments

x

An Assay5 object

i

Name of layer data to get or set

j

Ignored

...

Arguments passed to LayerData

value

A matrix-like object to add as a new layer

Value

[: The layer data for layer i

[<-: x with layer data value saved as i