[BioC] Changing fontsize in Rgraphviz

michael watson (IAH-C) michael.watson at bbsrc.ac.uk
Thu Oct 2 11:31:00 CEST 2008


Hi

I think I am probably being a complete idiot, but I can't change the
fontsize in simple Rgraphviz plots:

library("Rgraphviz")
set.seed(123)
V <- letters[1:10]
M <- 1:4
g1 <- randomGraph(V, M, 0.2)

plot(g1)

plot(g1, attrs=list(node = list(fontsize="80")))

Both of these produce the same plot, with no change in fontsize.  I'm
probably using the attributes incorrectly, so please someone put me out
of misery and show me!

Please don't ask me to upgrade Rgraphviz - I need this version to work
with my version of graphviz

sessionInfo()
R version 2.7.2 (2008-08-25) 
i386-pc-mingw32 

locale:
LC_COLLATE=English_United Kingdom.1252;LC_CTYPE=English_United
Kingdom.1252;LC_MONETARY=English_United
Kingdom.1252;LC_NUMERIC=C;LC_TIME=English_United Kingdom.1252

attached base packages:
[1] tools     stats     graphics  grDevices utils     datasets  methods
base     

other attached packages:
 [1] Rgraphviz_1.16.0    topGO_1.8.1         SparseM_0.78
GO.db_2.2.0         AnnotationDbi_1.2.2 RSQLite_0.7-0       DBI_0.2-4

 [8] Biobase_2.0.1       graph_1.18.1        RODBC_1.2-3        

loaded via a namespace (and not attached):
[1] cluster_1.11.11

Thanks
Mick

Head of Informatics
Institute for Animal Health
Compton
Berks
RG20 7NN
01635 578411 

http://www.iah.ac.uk/research/bioinformatics/bioinf.shtml

The information contained in this message may be confide...{{dropped:14}}



More information about the Bioconductor mailing list