Blog Archives

Building R packages for Windows when you don’t use it.

May 2, 2011
By

Are you a non-windows user wanting to share your R package with others who do use windows? There's a handy utility (http://win-builder.r-project.org/)that allows you to upload your .tar.gz file and it checks it, builds it, and sends you a link to downl...

Read more »

Building R packages for Windows when you don’t use it.

May 2, 2011
By

Are you a non-windows user wanting to share your R package with others who do use windows? There's a handy utility (http://win-builder.r-project.org/)that allows you to upload your .tar.gz file and it checks it, builds it, and sends you a link to downl...

Read more »

Simplifying polygon shapefiles in R

April 19, 2011
By
Simplifying polygon shapefiles in R

Recently I downloaded the Crosby Code shapefile from Landcare Research's LRIS server for use in some publications I'm preparing. This shapefile is incredibly detailed, far more so than what I require. This detail means that it takes a while for the map to be plotted each time. As detail is less important for me than speed of...

Read more »

Simplifying polygon shapefiles in R

April 19, 2011
By
Simplifying polygon shapefiles in R

Recently I downloaded the Crosby Code shapefile from Landcare Research's LRIS server for use in some publications I'm preparing. This shapefile is incredibly detailed, far more so than what I require. This detail means that it takes a while for the map to be plotted each time. As detail is less important for me than speed of...

Read more »

Two R functions for working with DNA alignments

March 28, 2011
By

Recently I wrote a couple of small functions as a result of work done by myself and others in my lab group. The first is a function that determines what sites in a sequence alignment are ambiguous (i.e. not A, G, C or T). require(ape)data(woodmouse)is.ambig    x    bases    ambig    ambig > 0}is.ambig(woodmouse)This function utilises the bit-level coding scheme that...

Read more »

Two R functions for working with DNA alignments

March 28, 2011
By

Recently I wrote a couple of small functions as a result of work done by myself and others in my lab group. The first is a function that determines what sites in a sequence alignment are ambiguous (i.e. not A, G, C or T). require(ape)data(woodmouse)is.ambig    x    bases    ambig    ambig > 0}is.ambig(woodmouse)This function utilises the bit-level coding scheme that...

Read more »

Changing phylogeny tip labels in R

January 14, 2011
By
Changing phylogeny tip labels in R

During the process of molecular systematic research, specimens are given code names and numbers to keep track of data through the pipeline. These can contain a lot of information of relevance to the researcher, but unfortunately are meaningless to others who aren't as involved with the data. On publication, it is necessary to change the names from the code...

Read more »

Changing phylogeny tip labels in R

January 14, 2011
By
Changing phylogeny tip labels in R

During the process of molecular systematic research, specimens are given code names and numbers to keep track of data through the pipeline. These can contain a lot of information of relevance to the researcher, but unfortunately are meaningless to others who aren't as involved with the data. On publication, it is necessary to change the names from the code...

Read more »

Canterbury Earthquakes part III

September 8, 2010
By
Canterbury Earthquakes part III

As more people keep following the GeoNet website, they are starting to notice the seismic activity in areas other than Christchurch. A few people I've talked to have expressed concern that the Saturday 7-pointer has sparked earthquakes around the count...

Read more »

Canterbury Earthquakes part III

September 8, 2010
By
Canterbury Earthquakes part III

As more people keep following the GeoNet website, they are starting to notice the seismic activity in areas other than Christchurch. A few people I've talked to have expressed concern that the Saturday 7-pointer has sparked earthquakes around the count...

Read more »