aveDiff: aveDiff

Description Usage Arguments Value

View source: R/internal_fluo_NBE.R

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

1
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.


CONFESS documentation built on Nov. 17, 2017, 8:55 a.m.