R functions for which I want some version control
Note, these are public because there's no point in making them private, but that doesn't mean they will be useful to you! You are welcome to give them a go and I always appreciate anyone spotting bugs in my code.
Perhaps one day they some of these functions will come together in proper R packages, no guarantee.
I keep some notes about these functions here: http://cwcode.wordpress.com
- ggplot-heatmap.R makes heatmaps in ggplot2
- getArgs.R makes parsing commandArgs() easy for use in Rscripts
- abf.R calculates approximate BayesFactors from p values and MAF. See Wakefield, J (2009) Bayes factors for genome-wide association studies: comparison with p-values. Genetic Epidemiology 33: 79–86.