GetClass: Get a class string with package information

View source: R/zzz.R

GetClassR Documentation

Get a class string with package information

Description

S4 classes are useful in the context of their defining package (benefits of stricter typing). In order to ensure class information is properly retained in HDF5 files, S4 class names are written as “package:classname” with certain exceptions (eg. S4 classes defined by Seurat)

Usage

GetClass(class, packages = "Seurat")

Arguments

class

Class name

packages

A vector of packages to exclude from resulting class information

Value

A character vector with the class

Examples


SeuratDisk:::GetClass('Seurat')
SeuratDisk:::GetClass('Matrix')



mojaveazure/seurat-disk documentation built on Nov. 5, 2023, 9:40 a.m.