modalOf {rliger} | R Documentation |
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)
Arguments
object |
a ligerDataset object or a liger 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.
Examples
modalOf(pbmc)
ctrl <- dataset(pbmc, "ctrl")
modalOf(ctrl)
ctrl.atac <- as.ligerDataset(ctrl, modal = "atac")
modalOf(ctrl.atac)
[Package rliger version 2.0.1 Index]