Entering edit mode
Mark W Kimpel
▴
830
@mark-w-kimpel-2027
Last seen 10.3 years ago
I would like to vary the font size of node labels in Rgraphviz as I
have
been varying node size by fold change magnitude. Unfortunately, many
attempts have failed and I continue to get the same font size. Here is
my code followed by sessionInfo()
nAttrs$fontsize<-floor(22 * nodeWidth)
nodeWidth is a vector of widths which vary by node according to fold
change. This works nicely, but font size does not.
help?
thanks,
Mark
> sessionInfo()
R version 2.6.1 (2007-11-26)
x86_64-unknown-linux-gnu
locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US
.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.
UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8
;LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] Rgraphviz_1.16.0 graph_1.16.1
loaded via a namespace (and not attached):
[1] cluster_1.11.9 tools_2.6.1
--
Mark W. Kimpel MD ** Neuroinformatics ** Dept. of Psychiatry
Indiana University School of Medicine
15032 Hunter Court, Westfield, IN 46074
(317) 490-5129 Work, & Mobile & VoiceMail
(317) 204-4202 Home (no voice mail please)
mwkimpel<at>gmail<dot>com