plotCellTypeSizeDep: Show a scatter plot of cell-type values vs. number of cells...

plotCellTypeSizeDepR Documentation

Show a scatter plot of cell-type values vs. number of cells per cell type

Description

Show a scatter plot of cell-type values vs. number of cells per cell type

Usage

plotCellTypeSizeDep(
  df,
  cell.groups,
  palette = NULL,
  font.size = 4,
  ylab = "expression distance",
  yline = 1,
  show.regression = TRUE,
  show.whiskers = TRUE,
  plot.theme = theme_get()
)

Arguments

df

a data frame with $value and $Type columns, just like plotMeanValuesPerCellType

cell.groups

a cell groups vector for calculating number of cells per cell type

palette

cell type palette

ylab

y axis label

yline

value at which a horizontal reference value should be plotted

show.whiskers

whether se values should be plotted

Value

ggplot2 object


kharchenkolab/cacoa documentation built on May 10, 2022, 3:42 a.m.