cell.count.bx: Boxplot according according metadata

View source: R/cell.count.bx.R

cell.count.bxR Documentation

Boxplot according according metadata

Description

This function draws a boxplot according to the cell count for a specified condition.

Usage

cell.count.bx(
  fcs.SCE,
  assay.i = "normalized",
  x.axis,
  color.by = x.axis,
  label.by = NULL,
  limits = NULL,
  colors = NULL
)

Arguments

fcs.SCE

A fcs.SCE object generated through FlowCT::fcs.SCE().

assay.i

Name of matrix stored in the fcs.SCE object from which calculate correlation. Default = "normalized".

x.axis

Variable name (from colData(fcs.SCE)) for drawing the x-axis in plot.

color.by

Variable name (from colData(fcs.SCE)) for coloring the plot. Default = x.axis (i.e., the same specfied in x.axis).

label.by

Variable from (from colData(fcs.SCE)) for labeling. Default = NULL.

limits

Numeric vector with limits for plotting (minimum, maximum). Default = NULL (i.e., automatically calculated from data).

colors

Vector with colors for plotting. Default = NULL (i.e., it will choose automatically a vector of colors according to FlowCT::div.colors()).

Examples

## Not run: cell.count.bx(fcsL, assay.i = "normalized", x.axis = "condition")

jgarces02/FlowCT documentation built on March 28, 2023, 12:42 p.m.