plotCounts {CATALYST} | R Documentation

## Plot cell counts

### Description

Barplot of the number of cells measured for each sample.

### Usage

    plotCounts(x, ...)

    ## S4 method for signature 'daFrame'
    plotCounts(x, color_by = "condition")

### Arguments

`x` | a `daFrame`.
`...` | optional arguments.
`color_by` | character string. Must appear as a column name of `rowData(x)`. Specifies the color coding.

### Value

a `ggplot` object.

### Author(s)

Helena Lucia Crowell helena.crowell@uzh.ch

### References

Nowicka M, Krieg C, Weber LM et al. CyTOF workflow: Differential discovery in high-throughput high-dimensional cytometry datasets. F1000Research 2017, 6:748 (doi: 10.12688/f1000research.11622.1)

### Examples

    data(PBMC_fs, PBMC_panel, PBMC_md)
    re <- daFrame(PBMC_fs, PBMC_panel, PBMC_md)
    plotCounts(re)

[Package CATALYST version 1.6.7 Index]