# NOT RUN {
# }
# NOT RUN {
# }
# NOT RUN {
#simulate data
D <- simgeno(p=50, n=100, k= 3, adjacent = 3, alpha = 0.06 , beta = 0.06)
plot(D)
#explore intra- and inter-chromosomal interactions
out <- netsnp(y=D$data, n.rho= 5, ncores= 1)
plot(out)
#different graph selection methods
sel.ebic1 <- selectnet(out, criteria = "ebic")
plot(sel.ebic1)
sel.ebic2 <- selectnet(out, criteria = "ebic", loglik = TRUE)
plot(sel.ebic2)
sel.aic <- selectnet(out, criteria = "aic")
plot(sel.aic)
sel.bic <- selectnet(out, criteria = "ebic", ebic.gamma = 0)
plot(sel.bic)
# }
Run the code above in your browser using DataLab