sub-sub-liger {rliger}R Documentation

Get cell metadata variable

Description

Get cell metadata variable

Usage

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

Arguments

x

A liger object

i

Name or numeric index of cell meta data to fetch

...

Anything that S4Vectors::DataFrame method allows.

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

# Retrieve whole cellMeta
pbmc[[]]
# Retrieve a variable
pbmc[["dataset"]]

[Package rliger version 2.0.1 Index]