glsSymm | R Documentation |
corSymm
Correlation Structure for One
GeneThis function fits gls
model with REML estimation method,
corSymm
unstructured correlation for one gene in a RNA-seq
repeated measures data, where data is the log-transformed counts obtained from
voom
.
glsSymm(d)
d |
a data frame containing several columns. The first 4 columns are
|
Output is a vector including the following components
aic |
AIC of the fitted model. |
s2 |
estimate of error variance. |
rho |
correlation parameter in |
fixed |
fixed effects (estimates of regression parameters). |
varbeta |
the estimates of variance of fixed effects, just include lower part and diagonal part of the variance-covariance matrix. |
data(res)
data(design)
data(covset)
d <- data.frame(cbind(y = res$ori.res$v$E[1,] ,Subject = covset$ear,
Time = as.integer(as.factor(covset$time)), w = 1/res$ori.res$v$weights[1,], design))
glsout <- rmRNAseq:::glsSymm(d)
glsout
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.