Skip to content

Instantly share code, notes, and snippets.

@kate-crosby
Created April 24, 2015 16:50
Show Gist options
  • Save kate-crosby/b04243207bd14a2457b0 to your computer and use it in GitHub Desktop.
Save kate-crosby/b04243207bd14a2457b0 to your computer and use it in GitHub Desktop.
ppsize R
# Doesn't matter what this is just defining an object
Y <- rnorm(500)
as.formula(paste("Y~",paste("SNP",1:16657,sep="",collapse="+"),sep=" "))
# Compare the two - if set max ppsize, goes up but not enough for 160k fixed effects
as.formula(paste("Y~",paste("SNP",1:16658,sep="",collapse="+"),sep=" "))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment