plot_pseudotime_density: Plot density of cells in pseudotime

Description Usage Arguments Value Examples

View source: R/embeddr.R

Description

This returns a ggplot density plot of the cells across pseudotime.

Usage

1
plot_pseudotime_density(sce, color_by = NULL, reverse = FALSE)

Arguments

sce

An object of class SCESet

color_by

The variable (in pData(sce)) by which to colour the density plot.

reverse

Logical If true the pseudotime will be reversed.

Value

A 'ggplot' object

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)
plot_pseudotime_density(sce)

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