[BioC] Question on node attribute fontsize in Rgraphviz
Claudio.Lottaz at klinik.uni-regensburg.de
Thu Sep 25 16:30:27 CEST 2008
I am trying to adjust the fontsize of graph nodes in a plot produced by the Rgraphviz package. However, any fontsize related changes I make don't have an effect when I plot the graph. For example code 1 below generates a random graph with 4 nodes. In order to make the fontsize of the graph nodes smaller than normal, I tried to adjust the attrs variable as shown in code 2, but after plotting the graph I still notice no change in terms of fontsize. All other node attributes work except for fontsize. I don't know if this is expected in general or I made a mistake.
Many thanks for any help!
V <- LETTERS[1:4]
M <- 1:4
g1 <- randomGraph(V, M, 0.2)
More information about the Bioconductor