CPD: CPD

Description Usage Arguments Value Examples

View source: R/CPD.R

Description

Spearman correlation between pairwise distances in the original data and imputed data. CPD quantifies preservation of the global structure after imputation. Requires complete datasets - for developers/use in benchmark studies only.

Usage

1
CPD(xorigin, ximputed)

Arguments

xorigin

numeric matrix. The original log-intensity data. Can not contain missing values.

ximputed

numeric matrix. The imputed log-intensity data. Can not contain missing values.

Value

numeric

Examples

1
2
3
4
5
data(pxd007959)
y <- pxd007959$y
y <- y[complete.cases(y),]
# for demonstration we use same y for xorigin and ximputed
CPD(y, y)

msImpute documentation built on Nov. 8, 2020, 5:26 p.m.