Learn R Programming

rliger (version 2.0.1)

modalOf: Return preset modality of a ligerDataset object or that of all datasets in a liger object

Description

Return preset modality of a ligerDataset object or that of all datasets in a liger object

Usage

modalOf(object)

Value

A single character of modality setting value for ligerDataset

object, or a named vector for liger object, where the names are dataset names.

Arguments

object

a ligerDataset object or a liger object

Examples

Run this code
modalOf(pbmc)
ctrl <- dataset(pbmc, "ctrl")
modalOf(ctrl)
ctrl.atac <- as.ligerDataset(ctrl, modal = "atac")
modalOf(ctrl.atac)

Run the code above in your browser using DataLab