aveDiff {CONFESS} | R Documentation

## aveDiff

### Description

It estimates the average difference between the original and the CV estimated pseudotimes. For circular path types, the difference is defined as min(diff,max(pseudotime)-diff). For example assuming 300 cells (thus the maximum pseudotime is 300) in a circular path, two pseudotimes 1 and 300 differ only by 1 and not by 299.

### Usage

    aveDiff(data, path.type, maxPseudo)

### Arguments

`data` | Numeric. A vector of pseudotimes whose first element is the originally estimated one (fromt he full data).
`path.type` | Character. The input of path.type parameter in pathEstimator().
`maxPseudo` | Numeric. The maximum possible pseudotime.

### Value

The average difference between the original and the CV estimated pseudotimes for a sample.

[Package CONFESS version 1.8.0 Index]