Skip to content

chr1swallace/random-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

randomFunctions

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.

I have put them in one package not because they are in any way related to each other, but because I like to have them around without cluttering up my current environment.

I keep some notes about some of these functions at my code blog.

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.

  • Cochran.Armitage.mod.R Cochran Armitage score test with Mantel extension.

About

R functions for which I want some version control

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages