plotPseudotimeDensity: plot Pseudotime density of FSPY

Description Usage Arguments Value Examples

View source: R/plotFSPY.R

Description

plot Pseudotime density of FSPY

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

an FSPY 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
 8
 9
10
11
12
if (FALSE) {

plotPseudotimeDensity(fspy)

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

plotPseudotimeDensity(fspy, adjust = 2) +
  scale_color_manual(values = c("#00599F","#FF3222","#009900",
                                "#FF9933","#FF99FF","#7A06A0"))

}

flowSpy documentation built on Nov. 8, 2020, 6:53 p.m.