Get and set layer data

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

# S4 method for 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

See also

LayerData

v5 Assay object, validity, and interaction methods: $.Assay5(), Assay5-class, Assay5-validity, [[.Assay5(), dim.Assay5(), dimnames.Assay5(), merge.Assay5(), split.Assay5(), subset.Assay5()