Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pi_mcar_logit

Estimating the proportion of MCAR values in a sample using a logit model.


Description

This function allows estimating the proportion of MCAR values in a sample using a logit model.

Usage

pi.mcar.logit(tab,conditions)

Arguments

tab

A data matrix containing numeric and missing values. Each column of this matrix is assumed to correspond to an experimental sample, and each row to an identified peptide.

conditions

A vector of factors indicating the biological condition to which each column (experimental sample) belongs.

Value

A list composed of:

pi.mcar

The estimated proportion of MCAR values.

coef1

The estimated intercept of each logit model estimated in a sample.

coef2

The estimated coefficient of each logit model estimated in a sample.

Author(s)

Quentin Giai Gianetto <quentin2g@yahoo.fr>

See Also

Examples

#Simulating data
res.sim=sim.data(nb.pept=2000,nb.miss=600);

#Proportion of MCAR values in each sample
pi.mcar.logit(tab=res.sim$dat.obs,conditions=res.sim$conditions)

imp4p

Imputation for Proteomics

v1.1
GPL-3
Authors
Quentin Giai Gianetto
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.