plotPseudotimeDensity: plot Pseudotime density of CYT

Description Usage Arguments Value Examples

View source: R/plotCYT.R

Description

plot Pseudotime density of CYT

Usage

1
2
3
4
5
6
7
plotPseudotimeDensity(
  object,
  color.by = "stage",
  main = "Density of pseudotime",
  adjust = 0.5,
  plot.theme = theme_bw()
)

Arguments

object

a CYT object

color.by

character.

main

character. Title of the plot

adjust

numeric. A multiplicate bandwidth adjustment.

plot.theme

themes from ggplot2

Value

ggplot2 figure

Examples

1
2
3
4
5
6
7
cyt.file <- system.file("extdata/cyt.rds", package = "CytoTree")
cyt <- readRDS(file = cyt.file)

plotPseudotimeDensity(cyt)

plotPseudotimeDensity(cyt, adjust = 1)
plotPseudotimeDensity(cyt, adjust = 2)

JhuangLab/CytoTree documentation built on Nov. 16, 2020, 7:23 a.m.