proj_matrix: Variance-Covariance Matrix Projection

View source: R/proj_matrix.R

proj_matrixR 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. \Sexpr[results=rd]{tools:::Rd_expr_doi("doi:10.1371/journal.pcbi.1010420")}.

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"))

mariechion/mi4p documentation built on Oct. 3, 2024, 4:50 a.m.