Learn R Programming

SeuratObject (version 5.0.2)

Cells-StdAssay: Cell and Feature Names

Description

Get the cell and feature names of an object

Usage

# S3 method for StdAssay
Cells(x, layer = NULL, simplify = TRUE, ...)

# S3 method for StdAssay Features(x, layer = NULL, simplify = TRUE, ...)

Value

Cell: A vector of cell names

Features: A vector of feature names

Arguments

x

An object

layer

Layer to pull cells/features for; defaults to default layer; if NA, returns all cells for the assay

simplify

Simplify the cell/feature names into a single vector; if FALSE, separates each cell/feature names by layer

...

Arguments passed to other methods