sub-ligerDataset: Subset ligerDataset object

sub-ligerDatasetR Documentation

Subset ligerDataset object

Description

Subset ligerDataset object

Usage

## S3 method for class 'ligerDataset'
x[i, j, ...]

Arguments

x

A ligerDataset object

i

Numeric, logical index or character vector of feature names to subscribe. Leave missing for all features.

j

Numeric, logical index or character vector of cell IDs to subscribe. Leave missing for all cells.

...

Additional arguments passed to subsetLigerDataset.

Value

If i is given, the selected metadata will be returned; if it is missing, the whole cell metadata table in S4Vectors::DataFrame class will be returned.

Examples

ctrl <- dataset(pbmc, "ctrl")
ctrl[1:5, 1:5]

rliger documentation built on Oct. 30, 2024, 1:07 a.m.