reverse_pseudotime: Reverse pseudotime

Description Usage Arguments Value Examples

View source: R/embeddr.R

Description

Reverse the pseudotimes of cells via pseudotime x -> -x + max(x) + min(x)

Usage

1

Arguments

sce

An object of class SCESet

Value

sce with the pseudotime reversed.

Examples

1
2
3
4
5
library(scater)
data('sc_example_counts') ; sce <- newSCESet(countData = sc_example_counts)
sce <- embeddr(sce)
sce <- fit_pseudotime(sce)
sce <- reverse_pseudotime(sce)

kieranrcampbell/embeddr documentation built on May 20, 2019, 9:24 a.m.