visualizeGRN | R Documentation |
Visualize a filtered GRN.
visualizeGRN( GRN, outputFolder = NULL, basenameOutput = NULL, plotAsPDF = TRUE, pdf_width = 12, pdf_height = 12, title = NULL, maxRowsToPlot = 500, graph = "TF-gene", colorby = "type", layered = FALSE, vertice_color_TFs = list(h = 10, c = 85, l = c(25, 95)), vertice_color_peaks = list(h = 135, c = 45, l = c(35, 95)), vertice_color_genes = list(h = 260, c = 80, l = c(30, 90)), vertexLabel_cex = 0.4, vertexLabel_dist = 0, forceRerun = FALSE )
GRN |
Object of class |
outputFolder |
Character or |
basenameOutput |
|
plotAsPDF |
|
pdf_width |
Number. Default 12. Width of the PDF, in cm. |
pdf_height |
Number. Default 12. Height of the PDF, in cm. |
title |
NULL or Character. Default NULL. Title to be assigned to the plot. |
maxRowsToPlot |
Numeric. Default 500. Refers to the maximum number of connections to be plotted. |
graph |
Character. Default |
colorby |
Character. Default |
layered |
Boolean. Default |
vertice_color_TFs |
Named list. Default |
vertice_color_peaks |
Named list. Default |
vertice_color_genes |
Named list. Default |
vertexLabel_cex |
Numeric. Default |
vertexLabel_dist |
Numeric. Default |
forceRerun |
|
the GRN object
GRN = loadExampleObject() GRN = visualizeGRN(GRN, maxRowsToPlot = 700, graph = "TF-gene", colorby = "type")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.