| calculateCommunitiesEnrichment | R Documentation |
GRNAfter the vertices of the filtered GRN are clustered into communities using calculateCommunitiesStats, this function will run a per-community enrichment analysis.
calculateCommunitiesEnrichment(
GRN,
ontology = c("GO_BP", "GO_MF"),
algorithm = "weight01",
statistic = "fisher",
background = "neighborhood",
selection = "byRank",
communities = seq_len(10),
pAdjustMethod = "BH",
forceRerun = FALSE
)
GRN |
Object of class |
ontology |
Character vector of ontologies. Default |
algorithm |
Character. Default |
statistic |
Character. Default |
background |
Character. Default |
selection |
Character. Default |
communities |
Numeric vector. Default |
pAdjustMethod |
Character. Default |
forceRerun |
|
The same GRN object, with the enrichment results stored in the stats$Enrichment$byCommunity slot.
plotCommunitiesEnrichment
plotGeneralEnrichment
calculateGeneralEnrichment
# See the Workflow vignette on the GRaNIE website for examples
GRN = loadExampleObject()
GRN = calculateCommunitiesEnrichment(GRN, ontology = c("GO_BP"), forceRerun = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.