plotProportion2: Proportion plot.

View source: R/plotProportion.R

plotProportion2R Documentation

Proportion plot.

Description

Plot a graph of the cells in two populations.

Usage

plotProportion2(
  object,
  assay.type = "RNA",
  condition,
  population,
  color.column,
  order = NULL
)

Arguments

object

CellRouter object.

assay.type

character; the type of data to use.

condition

character; column in the metadata table specifying an annotation, such as sorted populations.

population

character; column in the metadata table specifying another annotation.

color.column

character; corresponding color column for the annotation.

order

character vector; ordered populations. The default is ascending order.

Value

list; the data frame of cells (condition) and their classifications (population), and the plot.


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