Description Objects from the Class Methods Note Author(s) See Also Examples
Classes of objects created by snp.lhs.tests
and snp.rhs.tests
. The class
"GlmTestsScore"
extends the class
"GlmTests"
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 "GlmTests"
have four slots:
When only single SNPs are tested, a character vector of SNP names. Otherwise a list of such vectors (one for each test)
A character vector containing names of variables tested against SNPs
A numerical vector of chi-squared test values
An integer vector of degrees of freedom for the tests
A integer vector of the number of samples contributing to each test
The "GlmTestsScore"
class extends this, adding a slot
score
containing a list with elements which are themselves
lists with two elements:
The vector (or matrix) of efficient scores
The upper triangle of the variance-covariance matrix of
U
, stored as a vector
signature(x = "GlmTests", i = "ANY", j =
"missing", drop = "missing")
: Subsetting operator
signature(from = "GlmTests", to = "data.frame")
:
Simplify object
signature(x = "GlmTests", df =
"missing")
: Extract chi-squared test values
signature(x = "GlmTests")
: Extract
degrees of freedom for tests
signature(x="GlmTests")
: Extract (or generate)
a name for each test
signature(x = "GlmTests", df =
"missing")
: Extract p-values
signature(object = "GlmTests")
:
Extract sample sizes for tests
signature(object = "GlmTests")
: Show method
signature(object = "GlmTests")
: Summary
method
signature(x = "GlmTestsScore", i = "ANY", j =
"missing", drop = "missing")
: Subsetting operator
signature(x = "GlmTestsScore", simplify =
"logical")
: Extract signs of associations. If simpify
is
TRUE
then a simple vector is returned if all tests are on 1df
signature(x = "GlmTestsScore", y =
"GlmTestsScore", score = "logical")
: Combine results from two
sets of tests
signature(x = "GlmTestsScore", 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 SingleSnpTests
and
SingleSnpTestsScore
classes
David Clayton dc208@cam.ac.uk
snp.lhs.tests
,snp.rhs.tests
,
SingleSnpTests
,
SingleSnpTestsScore
1 | showClass("GlmTests")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.