snp.rhs.tests(formula, family = "binomial", link, weights, subset, data = parent.frame(),
snp.data, tests=NULL, robust = FALSE,
control=glm.test.control(maxit=20, epsilon=1.e-4, R2Max=0.98), allow.missing=0.01)
"binomial"
, "Poisson"
, "Gaussian"
or
"gamma"
(case-insensitive)"logit"
,
"log"
, "identity"
or "inverse"
. The
default action is to use the "canonical" link for the family selected"snp.matrix"
or
"X.snp.matrix"
containing the SNP datasingle.snp.tests
will often achieve the same
result much fasterdata
to useTRUE
, robust tests will be carried outdata
argument is supplied, the snp.data
and
data
objects are aligned by rowname. Otherwise all variables in
the model formulae are assumed to be stored in the same order as the
columns of the snp.data
object.single.snp.tests
, snp.lhs.tests
,
snp.matrix-class
, X.snp.matrix-class
data(testdata)
slt3 <- snp.rhs.tests(cc~strata(region), family="binomial",
data=subject.data, snp.data= Autosomes, tests=1:10)
print(slt3)
Run the code above in your browser using DataLab