Created
October 24, 2017 15:20
-
-
Save StuntsPT/657d7b042324956e6d656c1e48cbcf41 to your computer and use it in GitHub Desktop.
Trends plot
This file contains 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
#!/usr/bin/env Rscript | |
library(ggplot2) | |
trend = read.csv("/home/francisco/MEOCloud/Science/PhD/Thesis/Subdocs/C1_assets/Bioinformatics_pubmed.tsv", sep="\t") | |
ggplot(data=trend, aes(x=Year, y=X.000)) + | |
geom_bar(stat="identity", fill = I("lightblue")) + | |
guides(fill=FALSE) + | |
xlab("Year") + ylab("Number of papers with term per 100K pubmed papers") + | |
ggtitle("Pubmed Term 'Computational Biology' Trend") + | |
scale_x_continuous(breaks=c(1980,1985,1990,1995,2000,2005,2010,2016)) | |
ggsave('Trend.svg') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment