Learn R Programming

rliger (version 2.0.1)

sub-ligerDataset: Subset ligerDataset object

Description

Subset ligerDataset object

Usage

# S3 method for ligerDataset
[(x, i, j, ...)

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.

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.

Examples

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

Run the code above in your browser using DataLab