plotDistributionDiscrete: Distribution of discrete features

Description Usage Arguments Value

View source: R/plot-family.R

Description

This function is deprecated in favor of plotBarchart().

Usage

1
2
3
4
5
6
7
8
9
plotDistributionDiscrete(
  object,
  phase = "first_tmt",
  features,
  feature_compare = NULL,
  clrp = "milo",
  position = "fill",
  ...
)

Arguments

object

A valid cell tracer object.

phase

Character value. Refers to the phase of the experiment. Valid inputs are:

'before_tmt'

Uses the data that refers to the time before the treatment.

'first_tmt'

Uses the data that refers tot the time after the treatment.

Note: This argument is ignored if the experiment set up did not include any treatment or the treatment started right from the beginning.

features

Character vector. Denotes the discrete variables whoose distribution is to be visualized.

feature_compare

Character vector or NULL. The discrete feature you want to compare the features of features to.

clrp

Character value. The color panel to be used. Valid input options can be obtained via allColorpanels().

position

Character value. Given to position of ggplot2::geom_bar(). One of 'stack', 'dodge' or 'fill'.

...

Additional parameters given to ggplot2::facet_wrap().

Value

A ggplot.


kueckelj/celltracer documentation built on June 2, 2021, 6:37 a.m.