Learn R Programming

scCustomize (version 3.0.0)

Idents.liger: Extract or set default identities from object

Description

Extract default identities from object in factor form.

Usage

# S3 method for liger
Idents(object, ...)

# S3 method for liger Idents(object, ...) <- value

Value

factor

object

Arguments

object

LIGER object name.

...

Arguments passed to other methods

value

name of column in cellMeta slot to set as new default cluster/ident

Examples

Run this code
if (FALSE) {
# Extract idents
object_idents <- Idents(object = liger_object)
}

if (FALSE) {
# Set idents
Idents(object = liger_object) <- "new_annotation"
}

Run the code above in your browser using DataLab