[R] [R-pkgs] Package FuncMap Now Available on CRAN
Bryan Hanson
hanson at depauw.edu
Wed Mar 30 15:25:01 CEST 2011
I'm pleased to announce that the FuncMap (v 1.0) package is available
on CRAN.
This is a single function package that makes hive plots of function
calls for a specified package. Hive plots are a powerful concept
developed by Martin Krzywinski at the Genome Sciences Center
(mkweb.bcgsc.ca/linnet/). FuncMap is a simple implementation of
Martin's concept. Function calls in a package are categorized as
source functions, sink functions, or middle-managers, and plotted on 3
axes with several options available (?FuncMap for details of course).
I'm not entirely certain of what use one might make of this package!
It certainly creates good art - maybe t-shirt art for the package
developer's research group? Perhaps those from a computer science
background can find some value in it. A simple demo is given below,
which shows some dramatic differences between the structure of the two
popular plotting packages lattice and ggplot2.
Bryan
******
Bryan Hanson
Prof. of Chemistry & Biochemistry
DePauw University
Greencastle Indiana USA
require(mvbutils)
require(lattice)
require(ggplot2)
require(FuncMap)
# Use Mark Bravington's foodweb to create the call list
# Also creates a plot illustrating the calls
# Do these one at a time
fw.l <- foodweb(where = "package:lattice")
fw.g <- foodweb(where = "package:ggplot2")
# Now consider the hive plot versions
FuncMap(fw.l, pkg = "lattice")
FuncMap(fw.g, pkg = "ggplot2")
[[alternative HTML version deleted]]
_______________________________________________
R-packages mailing list
R-packages at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages
More information about the R-help
mailing list