plotNCellRegression | R Documentation |
Plot number of cells regression
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()
)
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 |
ggplot2 plot of regression
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.