getDiffAbundanceResults: Get/Set diffAbundanceFET result table

getDiffAbundanceResultsR Documentation

Get/Set diffAbundanceFET result table

Description

Get/Set diffAbundanceFET result table

Usage

getDiffAbundanceResults(x, analysisName)

## S4 method for signature 'SingleCellExperiment'
getDiffAbundanceResults(x, analysisName)

getDiffAbundanceResults(x, analysisName) <- value

## S4 replacement method for signature 'SingleCellExperiment'
getDiffAbundanceResults(x, analysisName) <- value

Arguments

x

A SingleCellExperiment object.

analysisName

A single character string specifying an analysis performed with diffAbundanceFET

value

The output table of diffAbundanceFET

Value

The differential abundance table for getter method, or update the SCE object with new result for setter method.

Examples

data("mouseBrainSubsetSCE", package = "singleCellTK")
mouseBrainSubsetSCE <- diffAbundanceFET(inSCE = mouseBrainSubsetSCE,
                                                cluster = "tissue",
                                                variable = "level1class",
                                                case = "oligodendrocytes",
                                                control = "microglia",
                                                analysisName = "diffAbund")
result <- getDiffAbundanceResults(mouseBrainSubsetSCE, "diffAbund")

compbiomed/singleCellTK documentation built on Feb. 10, 2024, 3:32 a.m.