Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Ggplot2 scatterplot
# load dataset
dataset <- read.csv("http://dl.dropboxusercontent.com/u/232839/DO_liver_variability_sex.csv", as.is=TRUE)
head(dataset)
# make plot
library(ggplot2)
ggplot(aes(y=protein.Sex, x=mrna.Sex), data=dataset) +
geom_point(alpha=0.2, size=I(5)) +
geom_smooth(method=loess) +
ggtitle("Variability Explained by Sex") + theme_bw()

dropbox link is dead, please double check

davemcg commented Dec 31, 2015

Dropbox link is still dead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment