Instantly share code, notes, and snippets.

Embed
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()
@quantkid

This comment has been minimized.

Show comment
Hide comment
@quantkid

quantkid Sep 27, 2015

dropbox link is dead, please double check

quantkid commented Sep 27, 2015

dropbox link is dead, please double check

@davemcg

This comment has been minimized.

Show comment
Hide comment
@davemcg

davemcg Dec 31, 2015

Dropbox link is still dead

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