sub-ligerDataset {rliger} | R 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 |
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]
[Package rliger version 2.0.1 Index]