proj_matrix {mi4p}R Documentation

Variance-Covariance Matrix Projection

Description

Use a projection of the given variance-covariance matrix.

Usage

proj_matrix(VarRubin.matrix, metadata)

Arguments

VarRubin.matrix

A variance-covariance matrix.

metadata

Metadata of the experiment.

Value

A list of variance-covariance matrices.

References

M. Chion, Ch. Carapito and F. Bertrand (2021). Accounting for multiple imputation-induced variability for differential analysis in mass spectrometry-based label-free quantitative proteomics. arxiv:2108.07086. https://arxiv.org/abs/2108.07086.

Examples

library(mi4p)
data(datasim)
datasim_imp <- multi.impute(data = datasim[,-1], conditions = 
attr(datasim,"metadata")$Condition, method = "MLE")
VarRubin.matrix <- rubin2.all(datasim_imp[1:5,,],
attr(datasim,"metadata")$Condition)
proj_matrix(VarRubin.matrix, attr(datasim,"metadata"))

[Package mi4p version 1.1 Index]