dotplot-methods: Dot plot of genes in populations.

dotplotR Documentation

Dot plot of genes in populations.

Description

Present a dot plot of selected genes in the specified populations and save to file. The dot size represents the percentage of cells expressing the indicated genes in each cluster and the dot color intensity represents the average expression level of the indicated genes.

Usage

dotplot(
  object,
  assay.type = "RNA",
  genes.use,
  column = "population",
  thr,
  order
)

## S4 method for signature 'CellRouter'
dotplot(
  object,
  assay.type = "RNA",
  genes.use,
  column = "population",
  thr,
  order
)

Arguments

object

CellRouter object.

assay.type

character; the type of data to use.

genes.use

character vector; selected genes.

column

character; column name in cellrouter@sampTab indicating the population.

thr

numeric; threshold.

order

character vector; ordered populations to be considered.

Value

ggplot2; plot.


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.