pcrcoal is an R package implementing the coalescent approach to PCR simulation developed by Weiss and von Haeseler (NAR, 1997). The package reports the simulated genealogies as phylo objects compatible with the ape package. The reported branch lengths are equal to the number of the replications occured in the respective lineage.
See the package reference manual for more information.
Weiss, G, von Haeseler, A (1997) A coalescent approach to the polymerase chain reaction. NAR 25(15): 3082-3087 http://dx.doi.org/10.1093/nar/25.15.3082
Download an install
The released packages are available from CRAN.
Building from source
The package can be built from the source by issuing make pkg on a *nix system. The building process needs the standard unix tools and R.