circleplot

A number of different kinds of analysis – both in my field of ecology and elsewhere – use distance matrices. For example, in a recent paper led by Ayesha Tulloch, we investigated how patterns of co-occurrence between pairs of species varied over space and time, and visualised our results using circleplot. Fundamentally, this package doesn’t do anything that you haven’t seen before; but it should give quick and (relatively) pleasing results.

My approach when writing this package was to allow users to call single function that could take a range of data types and return a useful result, while still allowing a reasonable degree of customization. This package is in active development, so expect changes to come; but you can view some information on how to use the package using the links below.

Tutorial 1: Data types and default commands
Tutorial 2: Setting point attributes
Tutorial 3: Setting line attributes

You can also see some published articles that include figures drawn using circleplot by clicking here.

If you want to install and run circleplot directly from R, then follow the commands below. Alternatively, you can view the source code and example on GitHub now.

# prepare libraries
library(devtools)
install_github('mjwestgate/circleplot')
library(circleplot)

?circleplot  # view help on how to use circleplot

circleplot exampleExample circleplot output, redrawn from Figure 1 in Lane et al. 2014.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s