Articles by nsaunders

Plotting “time of day” data using ggplot2

April 14, 2010 | nsaunders

William asks: How can I make a graph that looks like this, “tweet density” style, showing time intervals? He then helpfully describes his input data: a CSV file with headers “time started, time finished, date”. Here’s a simple CSV file, tasks.csv: task,date,start,end task1,2010-03-05,09:00:00,13:00:00 ... [Read more...]

BioMart (and biomaRt)

March 26, 2010 | nsaunders

I’ve been vaguely aware of BioMart for a few years. Inexplicably, I’ve only recently started to use it. It’s one of the most useful applications I’ve ever used. The concept is simple. You have a set of identifiers that describe a biological object, such as a ... [Read more...]

From the “blogosphere”? Hardly.

January 27, 2010 | nsaunders

I generally skip over “From the Blogosphere”, a (mostly) weekly-summary of one or two blog posts in Nature’s “Authors” section (here is the latest). Why? Well, I’ve always suspected that the title is rather misleading. Now, I have the hard numbers to prove it. My feed reader contains ...
[Read more...]

A new twist on the identifier mapping problem

January 11, 2010 | nsaunders

Yesterday, Deepak wrote about BridgeDB, a software package to deal with the “identifier mapping problem”. Put simply, biologists can name a biological entity in any way that they like, leading to multiple names for the same object. Easily solved, you might think, by choosing one identifier and sticking to it, ... [Read more...]

The Life Scientists at FriendFeed: 2009 summary

December 23, 2009 | nsaunders

It’s Christmas Eve tomorrow and so I declare the year over. My Christmas gift to you is a summary of activity in 2009 at the FriendFeed Life Scientists group. It’s crafted using R + Ruby, with raw data and some code snippets available. If you want to see the most ...
[Read more...]

A brief survey of R web interfaces

November 29, 2009 | nsaunders

I’m looking at ways to provide access to R via a web application. First rule: see what’s available first, before you reinvent the wheel. It’s not pretty. From the R Web Interfaces FAQ: Software Brief notes Rweb Page last updated 1999. Of the 3 example links on the page ... [Read more...]

R has a JSON package

November 5, 2009 | nsaunders

Named rjson, appropriately. It’s quite basic just now, but contains methods for interconversion between R objects and JSON. Something like this: __ library(rjson) __ data json json [1] "{\"a\":1,\"b\":2,\"c\":3}" __ cat(json, file="data.json") Use cases? I wonder if RApache could be used to build an API that serves ... [Read more...]

RSRuby in the IRB console

August 6, 2009 | nsaunders

R is terrific, of course, for all your statistical needs. But those data structures! “Everything is a list.” Leading to such wondrous ways to access variables as “p
[Read more...]

Baby steps with RSRuby in Rails

May 20, 2009 | nsaunders

Plotting and charting libraries for Ruby (on Rails) abound. However, few are sophisticated enough for scientists and many are not actively maintained. Plotting in R, on the other hand, is about as sophisticated as it comes. Can we bridge Ruby and R? Yes we can, thanks to Alex Gutteridge’s ...
[Read more...]

An R Wiki

April 21, 2008 | nsaunders

It’s been ages since I visited the R website, so I don’t know how long they’ve had a wiki. It’s built using DokuWiki, one of my personal favourites. This is a great leap forward for R documentation, which is somewhat notorious for being (a) difficult to ... [Read more...]
1 5 6 7

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)