draw.bn {Pigengene} | R Documentation |
Draws the BN using appropriate colors and font size.
draw.bn(BN, plotFile = NULL, inputType = "ENTREZIDat", edgeColor = "blue", DiseaseCol = "darkgreen", DiseaseFill = "red", DiseaseChildFill = "pink", nodeCol = "darkgreen", nodeFill = "yellow", moduleNamesFile = NULL, mainText = NULL, nodeFontSize = 14 * 1.1, verbose = 0)
BN |
An object of |
plotFile |
If not |
inputType |
The type of gene IDs in |
edgeColor |
The color of edges |
DiseaseCol |
The color of the border of the Disease node |
DiseaseFill |
The color of the area inside the Disease node |
DiseaseChildFill |
The color of the area inside the children of the Disease node |
nodeCol |
The color of the border of the usual nodes excluding Disease and its children |
nodeFill |
The color of the area inside the usual nodes |
moduleNamesFile |
An optional csv file including the information to rename the nodes name. See coderename.node. |
mainText |
The main text shown at the top of the plot |
nodeFontSize |
Adjusts the size of nodes |
verbose |
The integer level of verbosity. 0 means silent and higher values produce more details of computation. |
A list with following components:
call |
The call that created the results |
BN |
An echo of input |
renamedBN |
An object of |
gr |
The full output of |
Habil Zare
bnlearn-package
, Pigengene-package
,
learn.bn
, graph-class
## See lear.bn function.