int | R Documentation |
This is a special function used for 'haplo.interaction' function. It
identifies the variable that will interact with the haplotype estimates.
Using int()
in a formula implies that
the interaction term between this variable and haplotypes is included in 'haplo.glm' function.
int(x)
x |
A factor variable. |
x
haplo.interaction
library(SNPassoc)
library(haplo.stats)
data(SNPs)
datSNP<-setupSNP(SNPs, 6:40, sep = "")
mod <- haplo.interaction(casco~int(sex)+blood.pre, data = datSNP,
SNPs.sel = c("snp10001","snp10004","snp10005"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.