R/generics.R
R/assay5.R
CastAssay.Rd
Cast layers in v5 assays to other classes
CastAssay(object, to, ...) # S3 method for class 'Assay5' CastAssay(object, to, layers = NA, verbose = TRUE, ...)
An object
Either a class name or a function that takes a layer and returns the same layer as a new class
If to is a function, arguments passed to to
to
A vector of layers to cast; defaults to all layers
Show progress updates
object with the layers cast to class specified by to
object