Skip to content

Instantly share code, notes, and snippets.

@sashaphanes
Last active December 18, 2015 23:49
Show Gist options
  • Save sashaphanes/5864049 to your computer and use it in GitHub Desktop.
Save sashaphanes/5864049 to your computer and use it in GitHub Desktop.
scatterplotPlusLineggplot2.R
#head(ABhumanRat.data)
# region expression gene
#1 07. amygdala 7.755932 ratB
#2 07. amygdala 7.965554 ratB
#3 07. amygdala 7.896363 ratB
#4 07. amygdala 8.077286 ratB
#5 07. amygdala 8.093814 ratB
#6 07. amygdala 8.185065 ratB
ggplot(ABhumanRat.data, aes(x=region, y=expression, group=gene,color=gene))
+ geom_smooth(se=FALSE)
+ theme(axis.text.x = element_text(angle=90, face="bold", colour="black"))
+ geom_point(size=3)
+ ggtitle("MAOA vs. MAOB expression in human & rat")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment