| plotCommunitiesStats | R Documentation |
GRNSimilarly to the statistics produced by plotGeneralGraphStats, summaries regarding the vertex degrees and the most important vertices per community are generated. Note that the communities need to first be calculated using the calculateCommunitiesStats function
plotCommunitiesStats( GRN, outputFolder = NULL, basenameOutput = NULL, display = "byRank", communities = seq_len(10), topnGenes = 20, topnTFs = 20, plotAsPDF = TRUE, pdf_width = 12, pdf_height = 12, pages = NULL, forceRerun = FALSE )
GRN |
Object of class |
outputFolder |
Character or |
basenameOutput |
|
display |
Character. Default |
communities |
Numeric vector. Default |
topnGenes |
Integer. Default 20. Number of genes to plot, sorted by their rank or label. |
topnTFs |
Integer. Default 20. Number of TFs to plot, sorted by their rank or label. |
plotAsPDF |
|
pdf_width |
Number. Default 12. Width of the PDF, in cm. |
pdf_height |
Number. Default 12. Height of the PDF, in cm. |
pages |
Integer vector or |
forceRerun |
|
The same GRN object, without modifications. A single PDF file is produced with the statistics.
plotGeneralGraphStats
calculateCommunitiesStats
calculateCommunitiesEnrichment
# See the Workflow vignette on the GRaNIE website for examples GRN = loadExampleObject() GRN = plotCommunitiesStats(GRN, plotAsPDF = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.