getEnrichRResult: Get or Set EnrichR Result

getEnrichRResult<-R Documentation

Get or Set EnrichR Result

Description

Get or Set EnrichR Result

Usage

getEnrichRResult(inSCE, analysisName) <- value

getEnrichRResult(inSCE, analysisName)

## S4 method for signature 'SingleCellExperiment'
getEnrichRResult(inSCE, analysisName)

## S4 replacement method for signature 'SingleCellExperiment'
getEnrichRResult(inSCE, analysisName) <- value

Arguments

inSCE

A SingleCellExperiment object.

analysisName

A string that identifies each specific analysis

value

The EnrichR result table

Value

For getter method, a data.frame of the EnrichR result; For setter method, inSCE with EnrichR results updated.

See Also

runEnrichR

Examples

data("mouseBrainSubsetSCE")
if (Biobase::testBioCConnection()) {
  mouseBrainSubsetSCE <- runEnrichR(mouseBrainSubsetSCE, features = "Cmtm5", 
                                    db = "GO_Cellular_Component_2017",
                                    analysisName = "analysis1")
  result <- getEnrichRResult(mouseBrainSubsetSCE, "analysis1")
}

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