Last active
December 18, 2015 23:49
-
-
Save sashaphanes/5864049 to your computer and use it in GitHub Desktop.
scatterplotPlusLineggplot2.R
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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