Description Usage Arguments Value Author(s) Examples
This generic function computes the within-sample (technical) variance.
It fits a simple regression model for repeated measures using the mixedModel2
function in the statmod
package.
The technical variance is the block component of the varcomp
output.
1 | sample_technicalVariance(Data, ...)
|
Data |
An object of |
... |
Some methods for this generic function may take additional, optional arguments. At present none do. |
It returns a vector of the within-sample variances, one for each peak.
Stephen Nyangoma
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #arrange the data in a form that can be averaged by limma function dupcor
# use the function called limmaData
data(liverdata)
data(liver_pheno)
OBJECT=new("aclinicalProteomicsData")
OBJECT@rawSELDIdata=as.matrix(liverdata)
OBJECT@covariates=c("tumor" , "sex")
OBJECT@phenotypicData=as.matrix(liver_pheno)
OBJECT@variableClass=c('numeric','factor','factor')
OBJECT@no.peaks=53
sample_technicalVariance(OBJECT)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.