Learn R Programming

SeuratObject (version 5.0.2)

subset.StdAssay: Subset an Assay

Description

Subset an Assay

Usage

# S3 method for StdAssay
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 Standard Assay object, validity, and interaction methods $.StdAssay(), .DollarNames.StdAssay(), StdAssay-class, StdAssay-validity, [.StdAssay(), [[.StdAssay(), dim.StdAssay(), dimnames.StdAssay(), show,StdAssay-method, split.StdAssay()