Skip to contents

Subset a SpatialCellData Object

Usage

# S4 method for class 'SpatialCellData'
x[i, j, drop = FALSE]

Arguments

x

A SpatialCellData object.

i

Cell indices (integer or logical).

j

Marker indices (integer, logical, or character).

drop

Ignored.

Value

A subsetted SpatialCellData object.