calculateCommunitiesStats | R Documentation |
This function generates the TF-gene graph from the filtered GRN object, and clusters its vertices into communities using established community detection algorithms.
calculateCommunitiesStats(GRN, clustering = "louvain", forceRerun = FALSE, ...)
GRN |
Object of class |
clustering |
Character. Default |
forceRerun |
|
... |
Additional parameters for the used clustering method, see the |
The same GRN
object, with a table that consists of the connections clustered into communities stored in the stats$communities
slot.
# See the Workflow vignette on the GRaNIE website for examples GRN = loadExampleObject() GRN = calculateCommunitiesStats(GRN, forceRerun = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.