dependencies: Access Cell Type Dependencies

dependenciesR Documentation

Access Cell Type Dependencies

Description

Retrieve or assign hierarchical dependencies between cell types for an xCell2Object.

Retrieve or assign the hierarchical dependencies between cell types for an xCell2Object.

Usage

getDeps(object)

setDeps(object) <- value

## S4 method for signature 'xCell2Object'
getDeps(object)

## S4 replacement method for signature 'xCell2Object'
setDeps(object) <- value

Arguments

object

An xCell2Object.

value

A list of hierarchical dependencies (for the setter).

Value

For 'getDeps', a list of hierarchical dependencies. For 'setDeps<-', the updated xCell2Object.

For 'getDeps', a list of hierarchical dependencies. For 'setDeps<-', the updated xCell2Object.

See Also

xCell2Object-class

xCell2Object-class

Examples

data(DICE_demo.xCell2Ref, package = "xCell2")
setDeps(DICE_demo.xCell2Ref) <- list("Parent" = "ChildType1")
getDeps(DICE_demo.xCell2Ref)
data(DICE_demo.xCell2Ref, package = "xCell2")
setDeps(DICE_demo.xCell2Ref) <- list("ParentType" = "ChildType1")

AlmogAngel/xCell2 documentation built on Jan. 24, 2025, 10:39 a.m.