distance_correlation: Compute the correlation between pairwise distances

Description Usage Arguments Value

View source: R/correlation.R

Description

This computes the pairwise distances between cells according to the pseudotime estimates and truetime points, and then returns the Spearman correlation between these distances. It is recommended to normalize the pseudotime and truetime values before calling this function.

Usage

1
distance_correlation(pseudotime, truetime)

Arguments

pseudotime

An n-vector of pseudotime estimates.

truetime

An n-vector of true time values.

Value

The spearman correlation between computed distances.


pknight24/pstmeval documentation built on Nov. 18, 2020, 9:42 p.m.