plotNCellRegression: Plot number of cells regression

View source: R/plot.R

plotNCellRegressionR Documentation

Plot number of cells regression

Description

Plot number of cells regression

Usage

plotNCellRegression(
  n,
  n.total,
  x.lab = "Number of cells",
  y.lab = "N",
  legend.position = "right",
  label = TRUE,
  size = 4,
  palette = NULL,
  plot.line = TRUE,
  line.width = 0.5,
  plot.theme = ggplot2::theme_get()
)

Arguments

n

the regressed variable

n.total

integer Number of cells

x.lab

character vector (default="Number of cells") x axis label

y.lab

character vector (default="N") y axis label

legend.position

character vector (default="right") legend position

label

boolean (default=TRUE) Whether to show cell type labels

size

integer (default=4) Label text size

palette

color palette (default=NULL)

plot.line

boolean (default=TRUE) Whether to plot the robust regression

line.width

numeric (default=0.5) Regression line width

Value

ggplot2 plot of regression


kharchenkolab/cacoa documentation built on Nov. 8, 2024, 6:06 a.m.