plotProportion: Proportion plot.

View source: R/plotProportion.R

plotProportionR Documentation

Proportion plot.

Description

Plot a graph of the cells in two populations.

Usage

plotProportion(object, assay.type = "RNA", condition, population, 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.

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.