Cells: Get cells present in an object

Description Usage Arguments Value Note Examples

View source: R/generics.R

Description

Get cells present in an object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
Cells(x)

## Default S3 method:
Cells(x)

## S3 method for class 'DimReduc'
Cells(x)

## S3 method for class 'Neighbor'
Cells(x)

## S3 method for class 'SlideSeq'
Cells(x)

## S3 method for class 'STARmap'
Cells(x)

## S3 method for class 'VisiumV1'
Cells(x)

Arguments

x

An object

Value

A vector of cell names

Note

The default method simply calls colnames on x; other methods are provided for objects where colnames aren't necessarily cell names

Examples

1

Seurat documentation built on Jan. 13, 2021, 7:11 p.m.