plot_density_ridge: Plot Density

Description Usage Arguments Details Examples

View source: R/plot_density_ridge.R

Description

This function will draw a distribution for a given value

Usage

1
2
3
4
5
6
7
8
plot_density_ridge(
  input,
  val,
  title = "",
  color_by,
  data = "pD",
  log_scale = F
)

Arguments

input

the input ex_sc

val

Either "UMI_sum" or a gene name

title

The title of the plot

color_by

The metadata in pData that will be used to break the distributions into groups. Can be left blank.

Details

This will draw a UMI distribution for a given value, broken into groups if color_by != "NA"

Examples

1
draw_density(input = ex_sc_example, val = "UMI_sum", color_by = "Cluster", statistic = "mean")

kgellatl/SignallingSingleCell documentation built on Dec. 29, 2021, 4:12 p.m.