## Not run:
# #simulate data
# D <- episim(p=50, n=100, k= 3, adjacent = 3, alpha = 0.06 , beta = 0.06)
# plot(D)
#
# #epistasis path estimation using approx
# out1 <- epistasis(D$data, method="approx", n.rho= 5)
# plot(out1)
#
# #epistasis path estimation using gibbs
# out2 <- epistasis(D$data, method="gibbs", n.rho= 5, ncores= 1)
# plot(out2)
# ## End(Not run)
Run the code above in your browser using DataLab