Learn R Programming

SeuratObject (version 5.0.2)

subset.Assay5: Subset an Assay

Description

Subset an Assay

Usage

# S3 method for Assay5
subset(x, cells = NULL, features = NULL, layers = NULL, ...)

Value

x with just the cells and features specified by cells and features for the layers specified by layers

Arguments

x

An Assay5 object

cells

Cell names

features

Feature names

layers

Layer to keep; defaults to all layers

...

Ignored

See Also

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