A simple class to hold output from
snp.lhs.estimates and
snp.rhs.estimates. Its main purpose is to provide a
show method
Objects from the Class
Objects from this class are simple lists. Each element of the list is a
list giving the results of a generalized linear model fit, with elements:
Y.var
Name of the Y variable
beta
The vector or parameter estimates (with their names)
Var.beta
The upper triangle of the variance-covariance matrix
of estimates, stored as a simple vector
N
The number of "units" used in the model fit
Extends
Class "list", from data part.
Class "vector", by class "list", distance 2.
Methods
[
signature(x = "GlmEstimates", i = "ANY", j = "missing", drop = "missing"): Subset
coerce
signature(from = "GlmEstimates", to =
"GlmTests"): Calculate Wald tests
show
signature(object = "GlmEstimates"): Display
Note
Wald tests calculated by coercing an object of class
GlmEstimates to class GlmTests are asymptotically
equivalent to the "score" tests calculated by
snp.lhs.tests and snp.rhs.tests, and both types
of test are asymptotically correct. But the asymptotic properties of
Wald tests are not as good as those of score tests and, in
circumstances such as low sample size or low minor allele frequency,
Wald and score tests may differ substantially. In general score tests
are to be preferred, but Wald tests are provided in snpStats
because they are widely used.
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(snpStats)
Loading required package: survival
Loading required package: Matrix
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/snpStats/GlmEstimates-class.Rd_%03d_medium.png", width=480, height=480)
> ### Name: GlmEstimates-class
> ### Title: Class "GlmEstimates"
> ### Aliases: GlmEstimates-class [,GlmEstimates,ANY,missing,missing-method
> ### coerce,GlmEstimates,GlmTests-method show,GlmEstimates-method
> ### Keywords: classes
>
> ### ** Examples
>
> showClass("GlmEstimates")
Class "GlmEstimates" [package "snpStats"]
Slots:
Name: .Data
Class: list
Extends:
Class "list", from data part
Class "vector", by class "list", distance 2
>
>
>
>
>
> dev.off()
null device
1
>