Posts Tagged ‘ visualization ’

My Five Rules for Data Visualization

December 3, 2009
By
My Five Rules for Data Visualization

Tonight the NYC R Meetup will be discussing data visualization in R using ggplot2. As part of tonight’s meeting I will be providing a very brief show and tell, which includes mostly code examples and external resources. This exercise has had me thinking quite a bit about data visualization. In addition, a

Read more »

Infomaps using R – Visualizing German unemployment rates by district on a map

November 16, 2009
By
Infomaps using R – Visualizing German unemployment rates by district on a map

Lately, David Smith from REvolution Computing set out to challenge the R community with the reprocuction of a beautiful choropleth map (= multiple regions map/thematic map) on US unemployment rates he had seen on the Flowing Data blog. Here you can find the impressing results. Being a fan of beautiful visualizations I tried to produce

Read more »

QQ plots of p-values in R using ggplot2

November 9, 2009
By

Way back will wrote on this topic.  See his previous post for Stata code for doing this.  Unfortunately the R package that was used to create QQ-plots here has been removed from CRAN, so I wrote my own using ggplot2 and some code I received from Daniel Shriner at NHGRI. Of course you can use R's built-in qqplot() function, but...

Read more »

“I’m a Republican because…”, visualized with R

October 15, 2009
By
“I’m a Republican because…”, visualized with R

Visualizing user-generated statements from GOP.com to the theme of "I'm a Republican because...", using R.

Read more »

Visualizing sample relatedness in a GWAS using PLINK and R

October 9, 2009
By

Strict quality control procedures are extremely important for any genome-wide association study.  One of the first steps you should take when running QC on your GWAS is to look for related samples in your dataset.  This does two things for you.  First, you can get an idea of how many related samples you have in your dataset, and second,...

Read more »

Comparison of plots using Stata, R base, R lattice, and R ggplot2, Part I: Histograms

September 21, 2009
By

One of the nicer things about many statistics packages is the extremely granular control you get over your graphical output.  But I lack the patience to set dozens of command line flags in R, and I'd rather not power the computer by pumping the mouse trying to set all the clicky-box options in Stata's graphics editor.  I want something...

Read more »

Locate the position of CRAN mirror sites on a map using Google Maps

August 5, 2009
By
Locate the position of CRAN mirror sites on a map using Google Maps

Inspired by this post (suggested here by the always useful Revolutions blog), I attempted to plot the position of CRAN mirrors on a map taking advantage of the nice R package RgoogleMaps (check the dependencies!). Below the code: library(XML) # downlo...

Read more »

Simple visualization of a 11X5 table (for WordPress 2.9 Features Vote Results)

July 31, 2009
By
Simple visualization of a 11X5 table (for WordPress 2.9 Features Vote Results)

I guess this is not the number one post I would like to start with on this blog, but I feel the time is right for it (community-wise). I’ll move on to the subject matter in a moment, but first a short intro: This blog is written by Tal Galili. I am ...

Read more »

Simple visualization of a 11X5 table (for WordPress 2.9 Features Vote Results)

July 31, 2009
By
Simple visualization of a 11X5 table (for WordPress 2.9 Features Vote Results)

I guess this is not the number one post I would like to start with on this blog, but I feel the time is right for it (community-wise). I’ll move on to the subject matter in a moment, but first a short intro: This blog is written by Tal Galili. I am an aspiring statistician who

Read more »

ggplot2: more wicked-cool plots in R

July 20, 2009
By

As far as I know there are 3 different systems for producing figures in R: (1) base graphics, included with R, (2) the lattice package, and (3) ggplot2, one of the newer plotting systems which is, according to the creator Hadley Wickham, "based on the grammar of graphics, which tries to take the good parts of base and lattice...

Read more »