[R-pkgs] Package FuncMap Now Available on CRAN

From: Bryan Hanson <hanson_at_depauw.edu>
Date: Wed, 30 Mar 2011 09:25:01 -0400

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 Hanson
Prof. of Chemistry & Biochemistry
DePauw University
Greencastle Indiana USA

# 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
https://stat.ethz.ch/mailman/listinfo/r-packages Received on Thu 31 Mar 2011 - 06:45:26 EST

This archive was generated by hypermail 2.2.0 : Thu 31 Mar 2011 - 06:50:01 EST