DenPlot: Create density plot from seurat object

Description Usage Arguments Value

View source: R/pseudotime.R

Description

Creates a density plot of the a continuous variable of a seurat object and is able to split it by a category. There is also an option to show the means of each group.

Usage

1
2
DenPlot(seurat_object, x, group.by, title = NULL, subtitle = NULL,
  show.mean = FALSE)

Arguments

seurat_object

A seurat object

x

X axis category

group.by

Category to split the density plot by

title

Title of plot

subtitle

Subtitle of plot

show.mean

Whether to show the category means

Value

ggplot density plot


sbrn3/disscat documentation built on Dec. 12, 2019, 7:54 a.m.