Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 795 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 795 Bytes

random-functions

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

Functions

  • 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.