signatures: Access Cell Type Signatures

signaturesR Documentation

Access Cell Type Signatures

Description

Retrieve or assign the cell type-specific gene signatures for an xCell2Object.

Retrieve or assign the cell type-specific gene signatures for an xCell2Object.

Usage

getSignatures(object)

setSignatures(object) <- value

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

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

Arguments

object

An xCell2Object.

value

A list of cell type-specific gene signatures (for the setter).

Value

For 'getSignatures', a list of cell type-specific gene signatures. For 'setSignatures<-', the updated xCell2Object.

For 'getSignatures', a list of cell type-specific gene signatures. For 'setSignatures<-', the updated xCell2Object.

See Also

xCell2Object-class

xCell2Object-class

Examples

data(DICE_demo.xCell2Ref, package = "xCell2")
setSignatures(DICE_demo.xCell2Ref) <- list("T_cells" = c("GeneA", "GeneB"), "B_cells" = c("GeneC"))
getSignatures(DICE_demo.xCell2Ref)
data(DICE_demo.xCell2Ref, package = "xCell2")
setSignatures(DICE_demo.xCell2Ref) <- list("T_cells" = c("GeneA", "GeneB"))

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