is_class: Is class

View source: R/is_class.R

is_classR Documentation

Is class

Description

When group is not supplied (default), determines which group of single-cell classes the object belongs to (if any). When group is supplied, determine whether a single-cell object belongs to a particular group of object classes. See class_dict for details.

Usage

is_class(obj, group = NULL)

Arguments

obj

Data object.

group

Name of one or more single-cell group of single-cell object classes.

Examples

obj <- example_obj("Seurat")
is_class(obj,"seurat")

X <- example_obj("matrix")
obj <- lapply(seq(3), function(...){X})
is_class(obj, "matrix_list")

bschilder/scKirby documentation built on Oct. 2, 2024, 10:16 p.m.