CPD {msImpute} | R Documentation

## CPD

### 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

    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

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

[Package msImpute version 1.2.0 Index]