CastAssay-StdAssay: Cast Assay Layers

CastAssay-StdAssayR Documentation

Cast Assay Layers

Description

Cast layers in v5 assays to other classes

Usage

## S3 method for class 'StdAssay'
CastAssay(object, to, layers = NA, verbose = TRUE, ...)

Arguments

object

An object

to

Either a class name or a function that takes a layer and returns the same layer as a new class

layers

A vector of layers to cast; defaults to all layers

verbose

Show progress updates

...

If to is a function, arguments passed to to

Value

object with the layers cast to class specified by to


SeuratObject documentation built on May 29, 2024, 12:31 p.m.