Posts tagged with R

Comparing two populations using different graph types

October 5th, 2007

I think the title says it all. If you have two populations such as “Treatment” and “Control”, what type of graphs can you use to compare the two? Have a look at the examples, then pick the corresponding R code.

All of the charts come from either excellent the lattice package, or the superb ggplot2 package. The code should also work for multiple populations as well.

Read more »

Five resources for beginning bioinformaticians

October 4th, 2007

Lists

Back from a weeks holiday in Hungary just in time for my, hopefully, last ever year as a student. Last month I had a flurry of work completing a report and poster for the end of my second year, but now I’m aiming to work hard and try and get at least two papers out in my final year: in time to write up my thesis.

But now, to coincide with the beginning of the academic year, and the time that new PhD and Masters students start, I thought I would share some the resources that I found useful through out the course of my own Masters degree, then first two years of PhD.

Read more »

Deriving biological meaning from principal components analysis

August 1st, 2007

Back from Madrid. I spent three weeks there on an excellent data analysis course, which I would recommend. Not only did I learn valuable techniques, I also got the chance to spend my evenings by the pool or in Sol eating tapas - which explains the lack of posts this July. I offer this brief tutorial in recompense, continuing the theme of data analysis.

Read more »

Visualising and exploring multivariate datasets using singular value decomposition and self organising maps

July 17th, 2007

Hola from Madrid, I’ve come here for a data analysis summer school. Last week, there was an interesting class on dimensionality reduction, and since multivariate datasets are prevalent in this -omic era, I thought to post a discussion of what I learnt. The aim of this example is illustrate one technique for visualising multivariate data, singular value decomposition, and a second technique for exploring it, self organising maps.

Read more »

ggplot: a plotting alternative to R base, and lattice

May 14th, 2007

If you found the tutorial on drawing graphs using R a bit of a kerfuffle, there’s a good introduction on drawing graphs using the ggplot package. An alternative to the R base and lattice packages - so now you’ve got three to choose from.