plotViolin: Visualization violin plot of FSPY

Description Usage Arguments Value Examples

View source: R/plot2D.R

Description

Visualization violin plot of FSPY

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plotViolin(
  object,
  marker,
  color.by = "cluster.id",
  order.by = NULL,
  size = 1,
  text.angle = 0,
  main = "Violin plot FSPY",
  plot.theme = theme_bw()
)

Arguments

object

An FSPY object

marker

character. Markers used to plot

color.by

character. Dot or mesh color by which character. It can be one of the column of plot.meta, or it can be just "density" (the default value).

order.by

vector. Order of color theme.

size

numeric. Size of the dot

text.angle

numberic. Text angle of the violin plot

main

character. Title of the plot.

plot.theme

themes from ggplot2

Value

ggplot2 figure

Examples

1
2
3
4
if (FALSE) {
plotViolin(fspy, marker = "CD34")
plotViolin(fspy, marker = "CD34", order.by = "pseudotime")
}

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