correlationPseudotime-methods: Compute the correlation of each gene along the trajectories.

correlationPseudotimeR Documentation

Compute the correlation of each gene along the trajectories.

Description

Computes the correlation between the gene expression and the pseudotime of for each trajectory using a specified method.

Usage

correlationPseudotime(object, type = c("slope", "spearman", "pearson"))

## S4 method for signature 'CellRouter'
correlationPseudotime(object, type = c("slope", "spearman", "pearson"))

Arguments

object

CellRouter object.

type

character; correlation method: linear regression (slope), spearman or pearson.

Value

CellRouter object with the correlation slot updated.


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.