plotPseudotimeDensity {flowSpy} | R Documentation

## plot Pseudotime density of FSPY

### Description

plot Pseudotime density of FSPY

### Usage

    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

    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"))

    }

[Package flowSpy version 1.0.4 Index]