Cells-StdAssay: Cell and Feature Names

Cells-StdAssayR Documentation

Cell and Feature Names

Description

Get the cell and feature names of an object

Usage

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

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

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

Value

Cell: A vector of cell names

Features: A vector of feature names


mojaveazure/seurat-object documentation built on Dec. 13, 2024, 9:23 a.m.