plotPseudotimeDensity {CytoTree} | R Documentation

## plot Pseudotime density of CYT

### Description

plot Pseudotime density of CYT

### Usage

    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

    cyt.file <- system.file("extdata/cyt.rds", package = "CytoTree")
    cyt <- readRDS(file = cyt.file)

    plotPseudotimeDensity(cyt)

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

[Package CytoTree version 1.0.3 Index]