plotNode | R Documentation |
This function plots all connections (incoming and outgoing) of a specific node in one network or in all network in the discovered model.
plotNode(localint, node, p = 0.3, rmult = 7, dbcheck = TRUE, cex = 0.5)
localint |
an annotated list of interactions obtained by the function annotateEdges |
node |
center node name |
p |
defines a threshold for the posterior probability; edges whose posterior is higher than the threshold will be plotted |
rmult |
defines the raduis of the circle |
dbcheck |
logical, defines if interactions absent in the database are denoted with a dashed line |
cex |
regulates font size |
plots a graph consisting of a specified node and its neighbours in the networks representing clusters identified by 'bnclustOmics'
Polina Suter
bnnames<-bnInfo(simdata,c("b","c"),c("M","T")) allInteractions<-annotateEdges(bnres3,bnnames,sump=1.2,minp=0.5,minkp=0.9,dblist=simint) plotNode(allInteractions,"T43",p=0.5) plotNode(allInteractions,"T43",p=0.5,dbcheck=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.