# NOT RUN {
# Simulation set up A a) in the paper (Pan et al 2015)
# }
# NOT RUN {
simula <- simPathAR1Snp(nGenes=20, nGenes1=1, nSNPlim=c(1, 20), nSNP0=1:3,
LOR=.2, rholim=c(0,0),
n=100, MAFlim=c(0.05, 0.4), p0=0.05)
# }
# NOT RUN {
# Simulation set up A b) in the paper
#simulb <- simPathAR1Snp(nGenes=20, nGenes1=1, nSNPlim=c(1, 100), nSNP0=1:3,
# LOR=.2, rholim=c(0,0),
# n=100, MAFlim=c(0.05, 0.4), p0=0.05)
# }
Run the code above in your browser using DataLab