intervals | R Documentation |
Print ORs and confidence intervals for an object of class 'haplo.glm'
intervals(o, level=.95, ...)
o |
object of class 'haplo.glm' |
level |
significance level. Default is 95 percent |
... |
other arguments |
intervals object with ORs and 95% confidence intervals for an object of class 'haplo.glm'
# Not Run library(SNPassoc) library(haplo.stats) data(asthma, package = "SNPassoc") asthma.s <- setupSNP(data=asthma, colSNPs=7:ncol(asthma), sep="") trait <- asthma.s$casecontrol snpsH <- c("rs714588", "rs1023555", "rs898070") genoH <- make.geno(asthma.s, snpsH) mod <- haplo.stats:: haplo.glm( trait ~ genoH, family="binomial", locus.label=snpsH, allele.lev=attributes(genoH)$unique.alleles, control = haplo.glm.control(haplo.freq.min=0.05)) intervals(mod) summary(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.