# NOT RUN {
db = system.file("exdata", "seqsimm.db", package="Mega2R")
ENV = init_SKAT(db, verbose = FALSE, allMarkers = FALSE)
ENV$verbose = FALSE
ENV$SKAT_results = ENV$SKAT_results[0, ]
Mega2SKAT(ENV$phe[, 3] - 1 ~ 1, "D", kernel = "linear.weighted",
weights.beta = c(0.5, 0.5), gs=50:60 )
# }
# NOT RUN {
# donttestcheck: try this below if there is time
Mega2SKAT(ENV$phe[, 3] - 1 ~ 1, "D", kernel = "linear.weighted",
weights.beta = c(0.5, 0.5), genes=c("CEP104") )
# }
# NOT RUN {
ENV$SKAT_results
# }
Run the code above in your browser using DataLab