snp.tests.glm-class {snpMatrix} | R Documentation |
Classes of objects created by snp.lhs.tests
and snp.rhs.tests
. The class
"snp.tests.glm.score"
extends the class
"snp.tests.glm"
and is invoked by setting the argument
score=TRUE
when calling testing functions
in order to save the scores and their variances
(and covariances)
Objects of class "snp.tests.glm"
have four slots:
The "snp.tests.glm.score"
class extends this, adding a slot
score
containing a list with elements which are themselves
lists with two elements:
U
, stored as a vectorsignature(x = "snp.tests.glm", i = "ANY", j =
"missing", drop = "missing")
: Subsetting operatorsignature(x = "snp.tests.glm", df =
"missing")
: Extract chi-squared test valuessignature(x = "snp.tests.glm")
: Extract
degrees of freedom for testssignature(x="snp.tests.glm")
: Extract names of
test values (test.names
slot)signature(x = "snp.tests.glm", df =
"missing")
: Extract p-valuessignature(object = "snp.tests.glm")
:
Extract sample sizes for testssignature(object = "snp.tests.glm")
: Show methodsignature(object = "snp.tests.glm")
: Summary
methodsignature(x = "snp.tests.glm.score", i = "ANY", j =
"missing", drop = "missing")
: Subsetting operatorsignature(x = "snp.tests.glm.score", simplify =
"logical")
: Extract signs of associations. If simpify
is
TRUE
then a simple vector is returned if all tests are on 1dfsignature(x = "snp.tests.glm.score", y =
"snp.tests.glm.score", score = "missing")
: Combine results from two
sets of testssignature(x = "snp.tests.glm.score", snps =
"character")
: Emulate, in the score vector and its (co)variances,
the effect of switching of the alleles of specified SNPs
Most of the methods for this class are shared with
the snp.tests.single
and
snp.tests.single.score
classes
David Clayton david.clayton@cimr.cam.ac.uk
snp.lhs.tests
,snp.rhs.tests
,
snp.tests.single
,
snp.tests.single.score
showClass("snp.tests.glm")