Get or Set EnrichR Result

getEnrichRResult(inSCE, analysisName) <- value

getEnrichRResult(inSCE, analysisName)

# S4 method for SingleCellExperiment
getEnrichRResult(inSCE, analysisName)

# S4 method for 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

Examples

data("mouseBrainSubsetSCE")
if (Biobase::testBioCConnection()) {
  mouseBrainSubsetSCE <- runEnrichR(mouseBrainSubsetSCE, features = "Cmtm5", 
                                    db = "GO_Cellular_Component_2017",
                                    analysisName = "analysis1")
  result <- getEnrichRResult(mouseBrainSubsetSCE, "analysis1")
}
#> Uploading data to Enrichr... Done.
#>   Querying GO_Cellular_Component_2017... Done.
#> Parsing results... Done.