scan.glm.2D {GenABEL} | R Documentation |
Scans regional data allowing for gene-gene interaction using glm
scan.glm.2D(formula, family = gaussian(), data, snpsubset, idsubset, bcast = 50)
formula |
character string containing formula to be used in glm .
You should put CRSNP argument in the formula,
to arrange how the SNP from the list would be treated. This allows to
put in an interaction term. |
family |
family to be passed to glm |
snpsubset |
Index, character or logical vector with subset of SNPs to run analysis on.
If missing, all SNPs from data are used for analysis. |
idsubset |
Index, character or logical vector with subset of IDs to run analysis on.
If missing, all people from data/cc are used for analysis. |
data |
object of class "gwaa.data" |
bcast |
show progress every bcast SNPs |
Object of class scan.gwaa.2D-class
Yurii Aulchenko
scan.gwaa.2D-class
,
scan.haplo.2D
data(srdta) a <- scan.glm.2D("bt~sex+age+CRSNP",family=binomial(),data=srdta,snps=(1:10),bcast=2) plot(a)